Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.808/1.808, allocations: 288.2 MB / 303.2 MB, free: 8.109 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 175.7 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.4 MB / 0.6305 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008448/0.0008449, allocations: 91.38 kB / 0.7439 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004073, allocations: 17.41 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2519, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.405/5.657, allocations: 2.063 GB / 3.043 GB, free: 258.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/5.657, allocations: 91.89 kB / 3.043 GB, free: 258.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.492/7.15, allocations: 426.5 MB / 3.459 GB, free: 202.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.345e-06/7.15, allocations: 0 / 3.459 GB, free: 202.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.485e-05/7.15, allocations: 16 kB / 3.459 GB, free: 202.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002349/7.152, allocations: 1.078 MB / 3.46 GB, free: 200.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/7.152, allocations: 12.03 kB / 3.46 GB, free: 200.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.072e-05/7.152, allocations: 81.44 kB / 3.46 GB, free: 200.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/7.154, allocations: 286.9 kB / 3.461 GB, free: 200.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008597/7.155, allocations: 469.6 kB / 3.461 GB, free: 200.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/7.155, allocations: 32.94 kB / 3.461 GB, free: 200 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-05/7.155, allocations: 47.95 kB / 3.461 GB, free: 200 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009946/7.156, allocations: 0.5507 MB / 3.462 GB, free: 199.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/7.156, allocations: 3.938 kB / 3.462 GB, free: 199.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.524e-05/7.156, allocations: 20 kB / 3.462 GB, free: 199.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/7.156, allocations: 8 kB / 3.462 GB, free: 199.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009445/7.157, allocations: 467.6 kB / 3.462 GB, free: 198.9 MB / 0.948 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.002378/7.16, allocations: 2.135 MB / 3.464 GB, free: 196.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008609/7.161, allocations: 414.5 kB / 3.465 GB, free: 196.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00057/7.161, allocations: 405.8 kB / 3.465 GB, free: 195.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005233/7.162, allocations: 303.7 kB / 3.465 GB, free: 195.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=37): time 4.168e-06/7.162, allocations: 3.984 kB / 3.465 GB, free: 195.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=37): time 0.001608/7.163, allocations: 0.7031 MB / 3.466 GB, free: 194.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/7.163, allocations: 63.41 kB / 3.466 GB, free: 194.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004295/7.164, allocations: 433.2 kB / 3.466 GB, free: 194.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.276e-05/7.164, allocations: 33.7 kB / 3.467 GB, free: 194.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/7.164, allocations: 264.4 kB / 3.467 GB, free: 193.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.723e-05/7.164, allocations: 130.2 kB / 3.467 GB, free: 193.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/7.164, allocations: 8 kB / 3.467 GB, free: 193.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.477e-05/7.164, allocations: 358.8 kB / 3.467 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/7.165, allocations: 208.8 kB / 3.467 GB, free: 193.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004727/7.165, allocations: 343.3 kB / 3.468 GB, free: 192.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004543/7.166, allocations: 290 kB / 3.468 GB, free: 192.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/7.166, allocations: 4 kB / 3.468 GB, free: 192.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00111/7.167, allocations: 0.664 MB / 3.469 GB, free: 191.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.265e-05/7.167, allocations: 67.34 kB / 3.469 GB, free: 191.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/7.167, allocations: 4 kB / 3.469 GB, free: 191.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/7.167, allocations: 4 kB / 3.469 GB, free: 191.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/7.167, allocations: 107.8 kB / 3.469 GB, free: 191.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/7.167, allocations: 4 kB / 3.469 GB, free: 191.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006463/7.168, allocations: 103.3 kB / 3.469 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.967e-05/7.168, allocations: 20 kB / 3.469 GB, free: 191.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000212/7.168, allocations: 193.7 kB / 3.469 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/7.168, allocations: 55.34 kB / 3.469 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/7.169, allocations: 0.5462 MB / 3.47 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/7.169, allocations: 4 kB / 3.47 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/7.169, allocations: 0 / 3.47 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/7.169, allocations: 7.984 kB / 3.47 GB, free: 190.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/7.171, allocations: 1.349 MB / 3.471 GB, free: 189.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/7.171, allocations: 11.94 kB / 3.471 GB, free: 189.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000401/7.172, allocations: 87.88 kB / 3.471 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/7.172, allocations: 4 kB / 3.471 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.041e-05/7.172, allocations: 15.94 kB / 3.471 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/7.172, allocations: 4 kB / 3.471 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/7.172, allocations: 4 kB / 3.471 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/7.174, allocations: 1.129 MB / 3.472 GB, free: 187.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/7.174, allocations: 172.3 kB / 3.472 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.139e-05/7.174, allocations: 12 kB / 3.472 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004786/7.174, allocations: 59.91 kB / 3.473 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/7.175, allocations: 47.88 kB / 3.473 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/7.175, allocations: 19.95 kB / 3.473 GB, free: 187.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003713/7.175, allocations: 334.8 kB / 3.473 GB, free: 187.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.51e-07/7.175, allocations: 4 kB / 3.473 GB, free: 187.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001347/7.176, allocations: 291.9 kB / 3.473 GB, free: 187 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004062/7.18, allocations: 4.006 MB / 3.477 GB, free: 182.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001088/7.181, allocations: 0.5925 MB / 3.478 GB, free: 182.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/7.181, allocations: 0 / 3.478 GB, free: 182.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005639/7.182, allocations: 296.8 kB / 3.478 GB, free: 181.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/7.183, allocations: 265.6 kB / 3.478 GB, free: 181.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004999/7.188, allocations: 5.15 MB / 3.483 GB, free: 176.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/7.189, allocations: 0.8834 MB / 3.484 GB, free: 175.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005434/7.189, allocations: 124.7 kB / 3.484 GB, free: 175.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/7.189, allocations: 171.4 kB / 3.484 GB, free: 175.1 MB / 0.948 GB Notification: Performance of SimCode: time 6.842e-06/7.189, allocations: 0 / 3.484 GB, free: 175.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05899/7.248, allocations: 37.14 MB / 3.521 GB, free: 138.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/7.249, allocations: 227.9 kB / 3.521 GB, free: 137.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.552/10.8, allocations: 4 kB / 3.521 GB, free: 137.9 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)