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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00322/0.00322, allocations: 241.8 kB / 259.8 MB, free: 12.84 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.239/1.239, allocations: 138.4 MB / 454.7 MB, free: 1.504 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.5544 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/3.055e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4435/0.4436, allocations: 178.4 MB / 0.7286 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.007786/0.4513, allocations: 4.577 MB / 0.7331 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006401/0.452, allocations: 27.75 kB / 0.7331 GB, free: 5.984 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0008149/0.4528, allocations: 258.1 kB / 0.7333 GB, free: 5.73 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002195/0.455, allocations: 0.7808 MB / 0.7341 GB, free: 4.945 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.004441/0.4594, allocations: 1.611 MB / 0.7357 GB, free: 3.328 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002685/0.4621, allocations: 1.261 MB / 0.7369 GB, free: 2.062 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.4634, allocations: 378.1 kB / 0.7373 GB, free: 1.691 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002248/0.4657, allocations: 0.7556 MB / 0.738 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007559/0.4664, allocations: 362.9 kB / 0.7383 GB, free: 0.5781 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.4666, allocations: 44 kB / 0.7384 GB, free: 0.5352 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003545/0.4701, allocations: 1.289 MB / 0.7396 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003205/0.4704, allocations: 207.4 kB / 0.7398 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003747/0.4708, allocations: 207.5 kB / 0.74 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00266/0.4735, allocations: 1.336 MB / 0.7413 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4735, allocations: 0 / 0.7413 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4735, allocations: 0 / 0.7413 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.4735, allocations: 0 / 0.7413 GB, free: 13.5 MB / 0.5573 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.002013/0.4755, allocations: 1.076 MB / 0.7424 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.4755, allocations: 12.75 kB / 0.7424 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/0.4777, allocations: 386.4 kB / 0.7428 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009599/0.4786, allocations: 421.5 kB / 0.7432 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.966e-05/0.4787, allocations: 29 kB / 0.7432 GB, free: 11.51 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.025e-05/0.4788, allocations: 44.88 kB / 0.7433 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.4798, allocations: 0.5014 MB / 0.7437 GB, free: 10.92 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.4798, allocations: 3.984 kB / 0.7437 GB, free: 10.92 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.437e-05/0.4799, allocations: 20 kB / 0.7438 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.4799, allocations: 12 kB / 0.7438 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008582/0.4807, allocations: 311.7 kB / 0.7441 GB, free: 10.59 MB / 0.5573 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.003223/0.484, allocations: 2.149 MB / 0.7462 GB, free: 8.359 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008248/0.4848, allocations: 271.7 kB / 0.7464 GB, free: 8.082 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003908/0.4852, allocations: 151.5 kB / 0.7466 GB, free: 7.93 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005373/0.4857, allocations: 83.92 kB / 0.7467 GB, free: 7.848 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005863/0.4863, allocations: 241.2 kB / 0.7469 GB, free: 7.598 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=37): time 1.934e-06/0.4863, allocations: 0 / 0.7469 GB, free: 7.598 MB / 0.5573 GB Notification: Performance of matching and sorting (n=37): time 0.001602/0.4879, allocations: 0.5119 MB / 0.7474 GB, free: 7.082 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.488, allocations: 67.28 kB / 0.7474 GB, free: 7.004 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006066/0.4886, allocations: 482.7 kB / 0.7479 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.569e-05/0.4886, allocations: 37.7 kB / 0.7479 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/0.4889, allocations: 343.1 kB / 0.7483 GB, free: 6.133 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.4891, allocations: 131 kB / 0.7484 GB, free: 6.004 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.4893, allocations: 107.8 kB / 0.7485 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000339/0.4896, allocations: 0.5469 MB / 0.749 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004525/0.4901, allocations: 191 kB / 0.7492 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006851/0.4908, allocations: 476.8 kB / 0.7497 GB, free: 4.574 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009179/0.4917, allocations: 474.3 kB / 0.7501 GB, free: 4.047 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4917, allocations: 4 kB / 0.7501 GB, free: 4.043 MB / 0.5573 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001284/0.493, allocations: 0.605 MB / 0.7507 GB, free: 3.406 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.287e-05/0.4931, allocations: 63.39 kB / 0.7508 GB, free: 3.332 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.4931, allocations: 0.7812 kB / 0.7508 GB, free: 3.332 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/0.4931, allocations: 15.92 kB / 0.7508 GB, free: 3.316 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/0.4936, allocations: 91.89 kB / 0.7509 GB, free: 3.227 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.4936, allocations: 7.938 kB / 0.7509 GB, free: 3.219 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/0.494, allocations: 55.75 kB / 0.7509 GB, free: 3.164 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.963e-05/0.4941, allocations: 20.16 kB / 0.751 GB, free: 3.145 MB / 0.5573 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.0002762/0.4944, allocations: 220.4 kB / 0.7512 GB, free: 2.918 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.4945, allocations: 59.67 kB / 0.7512 GB, free: 2.859 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.4956, allocations: 427 kB / 0.7516 GB, free: 2.438 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.4956, allocations: 7.938 kB / 0.7516 GB, free: 2.43 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.4956, allocations: 4.562 kB / 0.7516 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.4956, allocations: 0 / 0.7516 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/0.498, allocations: 1.171 MB / 0.7528 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.498, allocations: 4.438 kB / 0.7528 GB, free: 1.156 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/0.4984, allocations: 68.52 kB / 0.7529 GB, free: 1.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/0.4984, allocations: 8 kB / 0.7529 GB, free: 1.082 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/0.4984, allocations: 12 kB / 0.7529 GB, free: 1.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.125e-05/0.4984, allocations: 11.94 kB / 0.7529 GB, free: 1.059 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.4984, allocations: 4.938 kB / 0.7529 GB, free: 1.055 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.5, allocations: 0.8067 MB / 0.7537 GB, free: 172 kB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/0.5003, allocations: 83.55 kB / 0.7538 GB, free: 88 kB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.402e-05/0.5003, allocations: 12 kB / 0.7538 GB, free: 76 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/0.5007, allocations: 31.91 kB / 0.7538 GB, free: 44 kB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.5009, allocations: 51.86 kB / 0.7539 GB, free: 15.99 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.5009, allocations: 19.94 kB / 0.7539 GB, free: 15.97 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003938/0.5013, allocations: 311.1 kB / 0.7542 GB, free: 15.67 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.5013, allocations: 0 / 0.7542 GB, free: 15.67 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006591/0.502, allocations: 167.7 kB / 0.7543 GB, free: 15.51 MB / 0.573 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.00039/0.5024, allocations: 184.5 kB / 0.7545 GB, free: 15.32 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.5036, allocations: 0.5311 MB / 0.755 GB, free: 14.75 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5036, allocations: 0 / 0.755 GB, free: 14.75 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004782/0.5041, allocations: 195.3 kB / 0.7552 GB, free: 14.55 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.5053, allocations: 217.9 kB / 0.7554 GB, free: 14.37 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.5077, allocations: 1.008 MB / 0.7564 GB, free: 13.27 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.5081, allocations: 262 kB / 0.7567 GB, free: 12.99 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000617/0.5087, allocations: 101.3 kB / 0.7568 GB, free: 12.89 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.5089, allocations: 40.5 kB / 0.7568 GB, free: 12.86 MB / 0.573 GB Notification: Performance of SimCode: time 7.51e-07/0.5089, allocations: 0 / 0.7568 GB, free: 12.86 MB / 0.573 GB Notification: Performance of Templates: time 0.02124/0.5301, allocations: 9.325 MB / 0.7659 GB, free: 3.816 MB / 0.573 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.7140172980725765]