Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001546/0.001546, allocations: 103.6 kB / 16.64 MB, free: 6.82 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.001761/0.001761, allocations: 193.9 kB / 17.57 MB, free: 5.934 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.387/1.387, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7985/0.7985, allocations: 122.9 MB / 414.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 67.89 kB / 0.4912 GB, free: 7.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3664, allocations: 77.91 MB / 0.5673 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1899/0.5564, allocations: 179.4 MB / 0.7425 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006803/0.5632, allocations: 4.419 MB / 0.7468 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008583/0.5641, allocations: 19.88 kB / 0.7468 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009186/0.5651, allocations: 202.7 kB / 0.747 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0023/0.5674, allocations: 0.7156 MB / 0.7477 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004038/0.5715, allocations: 1.419 MB / 0.7491 GB, free: 260 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3819/0.9534, allocations: 1.261 MB / 0.7503 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000834/0.9542, allocations: 424.5 kB / 0.7507 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.9557, allocations: 0.5742 MB / 0.7513 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006117/0.9563, allocations: 426.6 kB / 0.7517 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.992e-05/0.9564, allocations: 48.38 kB / 0.7518 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003041/0.9595, allocations: 1.603 MB / 0.7533 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003671/0.9599, allocations: 187.2 kB / 0.7535 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005694/0.9605, allocations: 303.8 kB / 0.7538 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.9625, allocations: 0.9101 MB / 0.7547 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.9625, allocations: 0.5312 kB / 0.7547 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.615e-06/0.9625, allocations: 3.188 kB / 0.7547 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.9625, allocations: 1.625 kB / 0.7547 GB, free: 3.098 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002367/0.9649, allocations: 1.016 MB / 0.7557 GB, free: 18.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.9649, allocations: 11.33 kB / 0.7557 GB, free: 18.45 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002288/0.9672, allocations: 282.1 kB / 0.756 GB, free: 18.42 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009221/0.9682, allocations: 443.1 kB / 0.7564 GB, free: 18.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.9682, allocations: 36.56 kB / 0.7564 GB, free: 18.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.9684, allocations: 45.52 kB / 0.7565 GB, free: 18.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.9696, allocations: 0.5437 MB / 0.757 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.9697, allocations: 4.672 kB / 0.757 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.121e-05/0.9697, allocations: 17.33 kB / 0.757 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.9697, allocations: 14.52 kB / 0.757 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.9709, allocations: 463.7 kB / 0.7575 GB, free: 18.05 MB / 0.5919 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.003076/0.974, allocations: 2.122 MB / 0.7595 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.975, allocations: 413.3 kB / 0.7599 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005489/0.9756, allocations: 223.7 kB / 0.7602 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008054/0.9764, allocations: 399 kB / 0.7605 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007306/0.9771, allocations: 293.6 kB / 0.7608 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.936e-06/0.9771, allocations: 2.094 kB / 0.7608 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.00204/0.9792, allocations: 0.6837 MB / 0.7615 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.9792, allocations: 58.77 kB / 0.7615 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000821/0.9801, allocations: 0.4901 MB / 0.762 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.701e-05/0.9802, allocations: 34.69 kB / 0.762 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.9804, allocations: 260.3 kB / 0.7623 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.9805, allocations: 123.7 kB / 0.7624 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.9807, allocations: 91.81 kB / 0.7625 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.9809, allocations: 364.4 kB / 0.7629 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/0.9815, allocations: 198.5 kB / 0.763 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006236/0.9821, allocations: 320.4 kB / 0.7633 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.9831, allocations: 0.5433 MB / 0.7639 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.9831, allocations: 1.562 kB / 0.7639 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001491/0.9846, allocations: 0.6493 MB / 0.7645 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.897e-05/0.9847, allocations: 65.25 kB / 0.7646 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.9847, allocations: 3.438 kB / 0.7646 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.9848, allocations: 6.859 kB / 0.7646 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.9853, allocations: 95.22 kB / 0.7647 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/0.9853, allocations: 13.5 kB / 0.7647 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007535/0.986, allocations: 84.59 kB / 0.7648 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/0.9861, allocations: 23.5 kB / 0.7648 GB, free: 15.01 MB / 0.5919 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.0003273/0.9865, allocations: 192.6 kB / 0.765 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.9866, allocations: 51.59 kB / 0.765 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.9879, allocations: 0.5372 MB / 0.7655 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.9879, allocations: 4.781 kB / 0.7656 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.9879, allocations: 1.219 kB / 0.7656 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.9879, allocations: 3.141 kB / 0.7656 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.9906, allocations: 1.35 MB / 0.7669 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.9906, allocations: 6.844 kB / 0.7669 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/0.991, allocations: 72.91 kB / 0.767 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.225e-05/0.9911, allocations: 6.438 kB / 0.767 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/0.9911, allocations: 13.31 kB / 0.767 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.327e-06/0.9911, allocations: 9.438 kB / 0.767 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.9911, allocations: 4.5 kB / 0.767 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.993, allocations: 0.9372 MB / 0.7679 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/0.9934, allocations: 174.7 kB / 0.7681 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.9935, allocations: 16.72 kB / 0.7681 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005635/0.9941, allocations: 41.2 kB / 0.7681 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.9943, allocations: 55.41 kB / 0.7682 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.026e-05/0.9943, allocations: 16.31 kB / 0.7682 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005278/0.9948, allocations: 345.8 kB / 0.7685 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9948, allocations: 0.875 kB / 0.7685 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00083/0.9957, allocations: 150.6 kB / 0.7687 GB, free: 13.86 MB / 0.5919 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.0006059/0.9963, allocations: 201.4 kB / 0.7689 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001417/0.9977, allocations: 0.593 MB / 0.7694 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.9977, allocations: 3.562 kB / 0.7694 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006614/0.9984, allocations: 267.2 kB / 0.7697 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/1, allocations: 287.1 kB / 0.77 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/1.002, allocations: 1.253 MB / 0.7712 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004937/1.003, allocations: 0.8699 MB / 0.772 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/1.003, allocations: 44.72 kB / 0.7721 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of SimCode: time 8.92e-07/1.003, allocations: 0.8438 kB / 0.7721 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.01537/1.018, allocations: 9.015 MB / 0.7809 GB, free: 11.59 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)