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.00145/0.00145, allocations: 109.4 kB / 16.41 MB, free: 6.438 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.001221/0.001221, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002327/0.002327, allocations: 291.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.157/1.157, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 95.86 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4612/0.4631, allocations: 86.97 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1812/0.6444, allocations: 181.8 MB / 0.9446 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006427/0.6508, allocations: 4.456 MB / 0.9489 GB, free: 8.992 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000898/0.6518, allocations: 19.88 kB / 0.9489 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008937/0.6527, allocations: 246.1 kB / 0.9492 GB, free: 8.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.6549, allocations: 0.7541 MB / 0.9499 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0037/0.6586, allocations: 1.519 MB / 0.9514 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00161/0.6602, allocations: 1.262 MB / 0.9526 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007631/0.661, allocations: 441.3 kB / 0.9531 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.6623, allocations: 0.5837 MB / 0.9536 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006712/0.663, allocations: 406.4 kB / 0.954 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.6631, allocations: 48 kB / 0.9541 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002677/0.6658, allocations: 1.543 MB / 0.9556 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002471/0.6661, allocations: 191.4 kB / 0.9557 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004517/0.6666, allocations: 302.5 kB / 0.956 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002333/0.6689, allocations: 1.317 MB / 0.9573 GB, free: 376 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6689, allocations: 4 kB / 0.9573 GB, free: 372 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6689, allocations: 7.938 kB / 0.9573 GB, free: 364 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.184e-05/0.6689, 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.3607/1.03, allocations: 1.003 MB / 0.9583 GB, free: 192.6 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/1.03, allocations: 9.5 kB / 0.9583 GB, free: 192.6 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002215/1.032, allocations: 284.7 kB / 0.9586 GB, free: 192.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008279/1.033, allocations: 474.9 kB / 0.959 GB, free: 192.2 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/1.033, allocations: 31.64 kB / 0.9591 GB, free: 192.2 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/1.033, allocations: 50.36 kB / 0.9591 GB, free: 192.2 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/1.034, allocations: 0.5494 MB / 0.9597 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/1.034, allocations: 1.047 kB / 0.9597 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.925e-05/1.034, allocations: 21.3 kB / 0.9597 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/1.034, allocations: 10 kB / 0.9597 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/1.035, allocations: 458.3 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.002419/1.038, allocations: 2.114 MB / 0.9622 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000947/1.039, allocations: 408.5 kB / 0.9626 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005469/1.039, allocations: 232.4 kB / 0.9628 GB, free: 190 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006888/1.04, allocations: 399.4 kB / 0.9632 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006985/1.041, allocations: 291 kB / 0.9635 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 2.855e-06/1.041, allocations: 1.344 kB / 0.9635 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001999/1.043, allocations: 0.6823 MB / 0.9641 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/1.043, allocations: 64.92 kB / 0.9642 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000598/1.043, allocations: 487.9 kB / 0.9647 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/1.044, allocations: 38.14 kB / 0.9647 GB, free: 189 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/1.044, allocations: 266.7 kB / 0.9649 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.963e-05/1.044, allocations: 124.7 kB / 0.9651 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/1.044, allocations: 93.12 kB / 0.9652 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.289e-05/1.044, allocations: 364 kB / 0.9655 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004874/1.045, allocations: 195.2 kB / 0.9657 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005472/1.045, allocations: 320.8 kB / 0.966 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009807/1.046, allocations: 0.5473 MB / 0.9665 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.046, allocations: 1.375 kB / 0.9665 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001257/1.047, allocations: 0.6467 MB / 0.9672 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/1.047, allocations: 61.2 kB / 0.9672 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/1.047, allocations: 3.25 kB / 0.9672 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/1.047, allocations: 5.594 kB / 0.9672 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004751/1.048, allocations: 98.8 kB / 0.9673 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/1.048, allocations: 5.438 kB / 0.9673 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005426/1.049, allocations: 81.17 kB / 0.9674 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.317e-05/1.049, allocations: 26.73 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.0002073/1.049, allocations: 194.8 kB / 0.9676 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-05/1.049, allocations: 55.5 kB / 0.9677 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/1.05, allocations: 0.5401 MB / 0.9682 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/1.05, allocations: 4.125 kB / 0.9682 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.05, allocations: 3.938 kB / 0.9682 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.05, allocations: 0 / 0.9682 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/1.052, allocations: 1.355 MB / 0.9695 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/1.052, allocations: 3.969 kB / 0.9695 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/1.053, allocations: 75.23 kB / 0.9696 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/1.053, allocations: 12.69 kB / 0.9696 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/1.053, allocations: 7.969 kB / 0.9696 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/1.053, allocations: 7.938 kB / 0.9696 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.053, allocations: 7.906 kB / 0.9696 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/1.054, allocations: 0.9303 MB / 0.9705 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/1.054, allocations: 175.9 kB / 0.9707 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.315e-05/1.054, allocations: 13.75 kB / 0.9707 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000431/1.055, allocations: 39.27 kB / 0.9708 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/1.055, allocations: 43.89 kB / 0.9708 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/1.055, allocations: 26.7 kB / 0.9708 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003123/1.055, allocations: 348.6 kB / 0.9712 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/1.055, allocations: 0 / 0.9712 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005218/1.056, allocations: 148.1 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.0003847/1.056, allocations: 203.5 kB / 0.9715 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001005/1.057, allocations: 0.5858 MB / 0.9721 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.057, allocations: 0 / 0.9721 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000516/1.058, allocations: 264.7 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.00125/1.059, allocations: 280.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.001449/1.06, allocations: 1.065 MB / 0.9736 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/1.061, allocations: 0.8626 MB / 0.9745 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/1.061, allocations: 47.44 kB / 0.9745 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/1.061, allocations: 3.938 kB / 0.9745 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.009462/1.07, allocations: 9.089 MB / 0.9834 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)