Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.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: translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 108.6 kB / 16.41 MB, free: 6.465 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.001148/0.001148, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002383/0.002383, allocations: 284.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9494/0.9494, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001986, allocations: 100.2 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4606/0.4626, allocations: 86.98 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1941/0.6568, allocations: 181.8 MB / 0.9446 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006441/0.6633, allocations: 4.461 MB / 0.9489 GB, free: 8.98 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007703/0.6641, allocations: 19.88 kB / 0.9489 GB, free: 8.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008879/0.665, allocations: 246.1 kB / 0.9492 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002247/0.6673, allocations: 0.7542 MB / 0.9499 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003895/0.6712, allocations: 1.516 MB / 0.9514 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001833/0.6731, allocations: 1.27 MB / 0.9526 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008366/0.6739, allocations: 445.3 kB / 0.9531 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.6752, allocations: 0.5682 MB / 0.9536 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000754/0.676, allocations: 418.2 kB / 0.954 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.6761, allocations: 44 kB / 0.9541 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002838/0.679, allocations: 1.547 MB / 0.9556 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003278/0.6793, allocations: 179.5 kB / 0.9557 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004609/0.6798, allocations: 310.5 kB / 0.956 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003239/0.683, allocations: 1.317 MB / 0.9573 GB, free: 364 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.6831, allocations: 0 / 0.9573 GB, free: 364 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.043e-06/0.6831, allocations: 0 / 0.9573 GB, free: 364 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.1e-05/0.6831, allocations: 0 / 0.9573 GB, free: 364 kB / 0.7169 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.3689/1.052, allocations: 1.013 MB / 0.9583 GB, free: 192.6 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/1.052, allocations: 9.625 kB / 0.9583 GB, free: 192.6 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/1.054, allocations: 279.7 kB / 0.9586 GB, free: 192.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008533/1.055, allocations: 473.5 kB / 0.959 GB, free: 192.2 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/1.055, allocations: 32 kB / 0.9591 GB, free: 192.2 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.913e-05/1.055, allocations: 45.95 kB / 0.9591 GB, free: 192.2 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/1.056, allocations: 0.5439 MB / 0.9596 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/1.056, allocations: 0.7188 kB / 0.9596 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/1.057, allocations: 28.52 kB / 0.9597 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.494e-05/1.057, allocations: 13.69 kB / 0.9597 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/1.058, allocations: 451.7 kB / 0.9601 GB, free: 191.8 MB / 0.7169 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.00255/1.06, allocations: 2.122 MB / 0.9622 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009437/1.061, allocations: 405.5 kB / 0.9626 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004776/1.062, allocations: 228.7 kB / 0.9628 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005983/1.062, allocations: 402.7 kB / 0.9632 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006255/1.063, allocations: 295.8 kB / 0.9635 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 2.375e-06/1.063, allocations: 0.9375 kB / 0.9635 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001792/1.065, allocations: 0.686 MB / 0.9641 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/1.065, allocations: 58.14 kB / 0.9642 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000586/1.066, allocations: 490.6 kB / 0.9646 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/1.066, allocations: 37.75 kB / 0.9647 GB, free: 189 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/1.066, allocations: 266.1 kB / 0.9649 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.084e-05/1.066, allocations: 121.8 kB / 0.9651 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/1.066, allocations: 93.55 kB / 0.9651 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.475e-05/1.066, allocations: 364.9 kB / 0.9655 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/1.067, allocations: 195.7 kB / 0.9657 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/1.067, allocations: 323.8 kB / 0.966 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009419/1.068, allocations: 0.5476 MB / 0.9665 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/1.068, allocations: 5.406 kB / 0.9665 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001211/1.069, allocations: 0.6451 MB / 0.9672 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/1.069, allocations: 60.39 kB / 0.9672 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/1.069, allocations: 4.125 kB / 0.9672 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/1.069, allocations: 5.156 kB / 0.9672 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004375/1.07, allocations: 103.7 kB / 0.9673 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/1.07, allocations: 6.812 kB / 0.9673 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005009/1.07, allocations: 75.56 kB / 0.9674 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.132e-05/1.07, allocations: 22.33 kB / 0.9674 GB, free: 187.4 MB / 0.7169 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.0001877/1.071, allocations: 194.1 kB / 0.9676 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.94e-05/1.071, allocations: 54.55 kB / 0.9677 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/1.072, allocations: 0.5389 MB / 0.9682 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/1.072, allocations: 4.391 kB / 0.9682 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.072, allocations: 0 / 0.9682 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/1.072, allocations: 5.172 kB / 0.9682 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/1.074, allocations: 1.349 MB / 0.9695 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/1.074, allocations: 8.688 kB / 0.9695 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/1.074, allocations: 74.3 kB / 0.9696 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/1.074, allocations: 7.938 kB / 0.9696 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/1.074, allocations: 11.39 kB / 0.9696 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/1.074, allocations: 11.88 kB / 0.9696 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.074, allocations: 4.031 kB / 0.9696 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/1.076, allocations: 0.9374 MB / 0.9705 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/1.076, allocations: 170.6 kB / 0.9707 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.752e-05/1.076, allocations: 14.72 kB / 0.9707 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/1.076, allocations: 34.52 kB / 0.9707 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/1.077, allocations: 53.11 kB / 0.9708 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/1.077, allocations: 15.47 kB / 0.9708 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003174/1.077, allocations: 349 kB / 0.9711 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.077, allocations: 0 / 0.9711 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005056/1.077, allocations: 148 kB / 0.9713 GB, free: 185.3 MB / 0.7169 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.0004026/1.078, allocations: 201.6 kB / 0.9715 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009709/1.079, allocations: 0.5833 MB / 0.972 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.079, allocations: 8.188 kB / 0.9721 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004969/1.079, allocations: 259.5 kB / 0.9723 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/1.081, allocations: 288.5 kB / 0.9726 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/1.082, allocations: 1.078 MB / 0.9736 GB, free: 183 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/1.082, allocations: 0.8665 MB / 0.9745 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/1.083, allocations: 47.44 kB / 0.9745 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of SimCode: time 6.71e-07/1.083, allocations: 0 / 0.9745 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.009473/1.092, allocations: 9.018 MB / 0.9833 GB, free: 173.2 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)