Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 111.3 kB / 15.23 MB, free: 0.6562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 193.2 kB / 16.13 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.204/1.204, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002011/0.002011, allocations: 294.3 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8331/0.8331, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 90.2 kB / 0.5946 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.122, allocations: 86.98 MB / 0.6795 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.3606/0.4827, allocations: 159.2 MB / 0.835 GB, free: 220 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003164/0.4859, allocations: 3.513 MB / 0.8385 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.486, allocations: 10.06 kB / 0.8385 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.4864, allocations: 102.2 kB / 0.8386 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007795/0.4872, allocations: 424.6 kB / 0.839 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000954/0.4881, allocations: 0.5368 MB / 0.8395 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000587/0.4887, allocations: 0.8172 MB / 0.8403 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.489, allocations: 203.5 kB / 0.8405 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.4902, allocations: 306.7 kB / 0.8408 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.4904, allocations: 203.7 kB / 0.841 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.4905, allocations: 12.78 kB / 0.841 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008036/0.4913, allocations: 0.6336 MB / 0.8416 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.247e-05/0.4914, allocations: 89.69 kB / 0.8417 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.4915, allocations: 133.9 kB / 0.8418 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006169/0.4921, allocations: 0.571 MB / 0.8424 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.4921, allocations: 0 / 0.8424 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.21e-07/0.4922, allocations: 0 / 0.8424 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.4922, allocations: 0 / 0.8424 GB, free: 14.85 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009203/0.4931, allocations: 0.6375 MB / 0.843 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.4931, allocations: 9.625 kB / 0.843 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.326e-05/0.4932, allocations: 56.48 kB / 0.8431 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004554/0.4937, allocations: 75.38 kB / 0.8431 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.494, allocations: 300.4 kB / 0.8434 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.494, allocations: 11.94 kB / 0.8434 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.494, allocations: 19.25 kB / 0.8435 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/0.4946, allocations: 317.1 kB / 0.8438 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.4946, allocations: 1.375 kB / 0.8438 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.4946, allocations: 9.625 kB / 0.8438 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.4946, allocations: 8.062 kB / 0.8438 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006087/0.4952, allocations: 252.2 kB / 0.844 GB, free: 13.74 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.4966, allocations: 1.244 MB / 0.8452 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.4971, allocations: 182.6 kB / 0.8454 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.4974, allocations: 120 kB / 0.8455 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005463/0.4979, allocations: 310.4 kB / 0.8458 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.4979, allocations: 40.88 kB / 0.8459 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.4979, allocations: 0 / 0.8459 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002078/0.5, allocations: 0.5638 MB / 0.8464 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.5001, allocations: 52.53 kB / 0.8465 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.5003, allocations: 268.8 kB / 0.8467 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.5003, allocations: 28.23 kB / 0.8467 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/0.5004, allocations: 169 kB / 0.8469 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.5005, allocations: 44.2 kB / 0.8469 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.297e-05/0.5005, allocations: 35.12 kB / 0.847 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.5006, allocations: 335.1 kB / 0.8473 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.5009, allocations: 96.75 kB / 0.8474 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.5012, allocations: 134.8 kB / 0.8475 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005182/0.5017, allocations: 241.5 kB / 0.8477 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5017, allocations: 0 / 0.8477 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001047/0.5028, allocations: 358.2 kB / 0.8481 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.5028, allocations: 7.844 kB / 0.8481 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.5028, allocations: 7.922 kB / 0.8481 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005469/0.5033, allocations: 87.48 kB / 0.8482 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.5036, allocations: 40.78 kB / 0.8482 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.5054, allocations: 1.618 MB / 0.8498 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.5056, allocations: 32.3 kB / 0.8498 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.5057, allocations: 12.14 kB / 0.8498 GB, free: 8.793 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.5058, allocations: 150.5 kB / 0.85 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.5059, allocations: 24.69 kB / 0.85 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.5069, allocations: 362.3 kB / 0.8504 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.5069, allocations: 1.969 kB / 0.8504 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.5069, allocations: 3.984 kB / 0.8504 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.507, allocations: 0 / 0.8504 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.5084, allocations: 0.7753 MB / 0.8511 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5084, allocations: 2.469 kB / 0.8511 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.5086, allocations: 31.78 kB / 0.8512 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004744/0.5091, allocations: 88.02 kB / 0.8512 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.5091, allocations: 4 kB / 0.8512 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.5108, allocations: 1.633 MB / 0.8528 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5108, allocations: 3.984 kB / 0.8528 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.5118, allocations: 461.3 kB / 0.8533 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.5119, allocations: 121 kB / 0.8534 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.512, allocations: 4 kB / 0.8534 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.5122, allocations: 21.84 kB / 0.8534 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.5123, allocations: 16.36 kB / 0.8534 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.5123, allocations: 17.67 kB / 0.8535 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001363/0.5125, allocations: 194.4 kB / 0.8536 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5125, allocations: 0 / 0.8536 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003435/0.5128, allocations: 84.78 kB / 0.8537 GB, free: 5.574 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001428/0.5143, allocations: 1.048 MB / 0.8547 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008477/0.5151, allocations: 353.3 kB / 0.8551 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5151, allocations: 2.531 kB / 0.8551 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005137/0.5156, allocations: 257.9 kB / 0.8553 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006306/0.5163, allocations: 116.9 kB / 0.8554 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/0.5204, allocations: 2.89 MB / 0.8583 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.5207, allocations: 0.7752 MB / 0.859 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001844/0.5208, allocations: 56.64 kB / 0.8591 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.521, allocations: 71.55 kB / 0.8591 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.521, allocations: 4 kB / 0.8591 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.322/2.843, allocations: 8.092 MB / 0.867 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002644/2.843, allocations: 282.4 kB / 0.8673 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/4.615, allocations: 0 / 0.8673 GB, free: 12.9 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)