Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.185/2.185, allocations: 391.2 MB / 407 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 191.4 kB / 499.1 MB, free: 4.645 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 0.7948 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 105.6 kB / 0.9329 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 53.12 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2585, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1662/0.4247, allocations: 179.5 MB / 1.393 GB, free: 1.031 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.006686/0.4315, allocations: 4.479 MB / 1.398 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007687/0.4323, allocations: 19.88 kB / 1.398 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0007033/0.433, allocations: 194.8 kB / 1.398 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.4349, allocations: 0.7078 MB / 1.399 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.003473/0.4383, allocations: 1.406 MB / 1.4 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.001883/0.4402, allocations: 1.699 MB / 1.402 GB, free: 8.504 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007677/0.441, allocations: 386.2 kB / 1.402 GB, free: 8.125 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.4423, allocations: 0.5252 MB / 1.403 GB, free: 7.598 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007371/0.4431, allocations: 422.3 kB / 1.403 GB, free: 7.184 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 9.097e-05/0.4432, allocations: 28 kB / 1.403 GB, free: 7.156 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003246/0.4464, allocations: 1.812 MB / 1.405 GB, free: 5.34 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002014/0.4467, allocations: 171.5 kB / 1.405 GB, free: 5.172 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0003511/0.447, allocations: 290.5 kB / 1.405 GB, free: 4.887 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001988/0.449, allocations: 1.391 MB / 1.407 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.449, allocations: 0 / 1.407 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.062e-06/0.449, allocations: 0 / 1.407 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.4491, allocations: 4 kB / 1.407 GB, free: 3.488 MB / 0.9011 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.001884/0.451, allocations: 1.017 MB / 1.408 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.451, allocations: 15.98 kB / 1.408 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.4529, allocations: 286.9 kB / 1.408 GB, free: 2.109 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007882/0.4537, allocations: 445.5 kB / 1.408 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.4538, allocations: 33 kB / 1.408 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.385e-05/0.4538, allocations: 44 kB / 1.408 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009584/0.4548, allocations: 0.5468 MB / 1.409 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.4548, allocations: 0 / 1.409 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/0.4549, allocations: 19.98 kB / 1.409 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.4549, allocations: 15.94 kB / 1.409 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.4559, allocations: 455.6 kB / 1.409 GB, free: 0.4961 MB / 0.9011 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.002498/0.4585, allocations: 2.116 MB / 1.411 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000974/0.4594, allocations: 407.7 kB / 1.412 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005236/0.46, allocations: 229.2 kB / 1.412 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006885/0.4607, allocations: 404.2 kB / 1.412 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006342/0.4613, allocations: 294.6 kB / 1.413 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=37): time 2.865e-06/0.4613, allocations: 0 / 1.413 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37): time 0.001832/0.4632, allocations: 0.6848 MB / 1.413 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.4632, allocations: 67.09 kB / 1.413 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005726/0.4638, allocations: 494 kB / 1.414 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.4639, allocations: 37.7 kB / 1.414 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.4641, allocations: 256.1 kB / 1.414 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.4642, allocations: 130.2 kB / 1.414 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.4643, allocations: 90.11 kB / 1.414 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4645, allocations: 366.8 kB / 1.415 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004789/0.465, allocations: 192.8 kB / 1.415 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005709/0.4656, allocations: 316.1 kB / 1.415 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009877/0.4665, allocations: 0.5411 MB / 1.416 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4666, allocations: 0 / 1.416 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001276/0.4678, allocations: 0.6557 MB / 1.416 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.43e-05/0.4679, allocations: 63.77 kB / 1.416 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4679, allocations: 8 kB / 1.416 GB, free: 8.812 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.468, allocations: 4 kB / 1.416 GB, free: 8.809 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/0.4684, allocations: 95.88 kB / 1.417 GB, free: 8.715 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.4684, allocations: 7.938 kB / 1.417 GB, free: 8.707 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005472/0.469, allocations: 87.33 kB / 1.417 GB, free: 8.621 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.298e-05/0.469, allocations: 27.98 kB / 1.417 GB, free: 8.594 MB / 0.9167 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 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002191/0.4693, allocations: 195.1 kB / 1.417 GB, free: 8.395 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.634e-05/0.4693, allocations: 51.34 kB / 1.417 GB, free: 8.344 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.4705, allocations: 0.5412 MB / 1.417 GB, free: 7.793 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.4706, allocations: 4 kB / 1.417 GB, free: 7.789 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4706, allocations: 0 / 1.417 GB, free: 7.789 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.4706, allocations: 0 / 1.417 GB, free: 7.789 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.4729, allocations: 1.354 MB / 1.419 GB, free: 6.336 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.4729, allocations: 7.938 kB / 1.419 GB, free: 6.328 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003853/0.4733, allocations: 71.89 kB / 1.419 GB, free: 6.258 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.4733, allocations: 4 kB / 1.419 GB, free: 6.254 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.943e-05/0.4733, allocations: 20.42 kB / 1.419 GB, free: 6.234 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.4734, allocations: 8 kB / 1.419 GB, free: 6.227 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.4734, allocations: 7.938 kB / 1.419 GB, free: 6.219 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/0.4845, allocations: 4.503 MB / 1.423 GB, free: 1.484 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/0.4848, allocations: 168.3 kB / 1.423 GB, free: 1.301 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.247e-05/0.4849, allocations: 15.94 kB / 1.423 GB, free: 1.285 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004644/0.4854, allocations: 55.91 kB / 1.424 GB, free: 1.23 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.4855, allocations: 39.95 kB / 1.424 GB, free: 1.191 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.4855, allocations: 15.94 kB / 1.424 GB, free: 1.176 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000414/0.486, allocations: 350.8 kB / 1.424 GB, free: 0.8359 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.513e-06/0.486, allocations: 4 kB / 1.424 GB, free: 0.832 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007921/0.4868, allocations: 211.8 kB / 1.424 GB, free: 0.625 MB / 0.9167 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005008/0.4873, allocations: 208.8 kB / 1.424 GB, free: 432 kB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.4485/0.9358, allocations: 0.5815 MB / 1.425 GB, free: 207.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.9358, allocations: 0.875 kB / 1.425 GB, free: 207.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007803/0.9366, allocations: 282.8 kB / 1.425 GB, free: 207.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/0.9382, allocations: 277.7 kB / 1.425 GB, free: 207.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.9405, allocations: 1.439 MB / 1.427 GB, free: 206.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.9409, allocations: 0.8776 MB / 1.428 GB, free: 205.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006173/0.9415, allocations: 134.5 kB / 1.428 GB, free: 205.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.9417, allocations: 44.12 kB / 1.428 GB, free: 205.6 MB / 0.9167 GB Notification: Performance of SimCode: time 7.81e-07/0.9417, allocations: 0 / 1.428 GB, free: 205.6 MB / 0.9167 GB Notification: Performance of Templates: time 0.02269/0.9644, allocations: 10.84 MB / 1.438 GB, free: 204.3 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)