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.001059/0.001059, allocations: 105 kB / 16.35 MB, free: 5.824 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.001049/0.001049, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.25/1.25, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.00203, allocations: 284.8 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9125/0.9125, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 94.98 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1466, allocations: 86.97 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4577/0.6044, allocations: 181.8 MB / 0.8591 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005643/0.61, allocations: 4.447 MB / 0.8634 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004728/0.6105, allocations: 19.88 kB / 0.8635 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005955/0.6112, allocations: 250.1 kB / 0.8637 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.6128, allocations: 0.7619 MB / 0.8644 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.6159, allocations: 1.515 MB / 0.8659 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001227/0.6171, allocations: 1.258 MB / 0.8672 GB, free: 412 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005615/0.6177, allocations: 452.2 kB / 0.8676 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008278/0.6185, allocations: 0.5719 MB / 0.8681 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004503/0.619, allocations: 406.4 kB / 0.8685 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.848e-05/0.6191, allocations: 44 kB / 0.8686 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.6214, allocations: 1.547 MB / 0.8701 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.6216, allocations: 187.4 kB / 0.8703 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.6219, allocations: 302.5 kB / 0.8705 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.6237, allocations: 1.313 MB / 0.8718 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.6237, allocations: 3.984 kB / 0.8718 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6237, allocations: 0 / 0.8718 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.6237, allocations: 0 / 0.8718 GB, free: 11.59 MB / 0.6387 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.001582/0.6253, allocations: 1.014 MB / 0.8728 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.6253, allocations: 12.03 kB / 0.8728 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/0.6274, allocations: 290.9 kB / 0.8731 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007924/0.6282, allocations: 470.2 kB / 0.8736 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.6282, allocations: 29 kB / 0.8736 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.927e-05/0.6283, allocations: 51.89 kB / 0.8736 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000955/0.6292, allocations: 0.5468 MB / 0.8742 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.6293, allocations: 4 kB / 0.8742 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.133e-05/0.6293, allocations: 16 kB / 0.8742 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.6293, allocations: 15.94 kB / 0.8742 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009896/0.6303, allocations: 459.5 kB / 0.8746 GB, free: 8.578 MB / 0.6387 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.00238/0.6327, allocations: 2.116 MB / 0.8767 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009146/0.6337, allocations: 406.5 kB / 0.8771 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004519/0.6341, allocations: 230.2 kB / 0.8773 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006596/0.6348, allocations: 404.3 kB / 0.8777 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005856/0.6354, allocations: 297.2 kB / 0.878 GB, free: 4.93 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=37): time 1.973e-06/0.6354, allocations: 4 kB / 0.878 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37): time 0.001683/0.6371, allocations: 0.6836 MB / 0.8787 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.6371, allocations: 59.39 kB / 0.8787 GB, free: 4.164 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005269/0.6377, allocations: 498.1 kB / 0.8792 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.6377, allocations: 33.7 kB / 0.8792 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.6379, allocations: 264 kB / 0.8795 GB, free: 3.367 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 9.577e-05/0.638, allocations: 118.3 kB / 0.8796 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.6382, allocations: 94.02 kB / 0.8797 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6383, allocations: 370.8 kB / 0.88 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004622/0.6388, allocations: 188.8 kB / 0.8802 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005387/0.6393, allocations: 324 kB / 0.8805 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009431/0.6403, allocations: 0.5422 MB / 0.8811 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.6403, allocations: 0 / 0.8811 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001214/0.6415, allocations: 0.652 MB / 0.8817 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/0.6416, allocations: 59.41 kB / 0.8817 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.6416, allocations: 4 kB / 0.8817 GB, free: 0.9023 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.6416, allocations: 7.984 kB / 0.8818 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.6421, allocations: 96.27 kB / 0.8818 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.6421, allocations: 11.92 kB / 0.8819 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005277/0.6426, allocations: 78.86 kB / 0.8819 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.6427, allocations: 20 kB / 0.882 GB, free: 0.6953 MB / 0.6387 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.0002345/0.6429, allocations: 189.7 kB / 0.8821 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/0.643, allocations: 59.28 kB / 0.8822 GB, free: 452 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.6441, allocations: 0.5344 MB / 0.8827 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.6442, allocations: 4 kB / 0.8827 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.6442, allocations: 0 / 0.8827 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.6442, allocations: 3.984 kB / 0.8827 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.6463, allocations: 1.342 MB / 0.884 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.6463, allocations: 8.062 kB / 0.884 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004088/0.6468, allocations: 83.81 kB / 0.8841 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.6468, allocations: 4 kB / 0.8841 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.6468, allocations: 12 kB / 0.8841 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/0.6468, allocations: 7.938 kB / 0.8841 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.6468, allocations: 4 kB / 0.8841 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.6484, allocations: 0.9422 MB / 0.8851 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/0.6486, allocations: 173.4 kB / 0.8852 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.122e-05/0.6487, allocations: 19.98 kB / 0.8852 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000431/0.6491, allocations: 27.97 kB / 0.8853 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.6493, allocations: 59.73 kB / 0.8853 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.6493, allocations: 16 kB / 0.8853 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003702/0.6497, allocations: 342.8 kB / 0.8857 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6497, allocations: 0 / 0.8857 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005399/0.6502, allocations: 151.8 kB / 0.8858 GB, free: 12.54 MB / 0.6544 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.6506, allocations: 209 kB / 0.886 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.6517, allocations: 0.5778 MB / 0.8866 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6518, allocations: 4.062 kB / 0.8866 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006306/0.6524, allocations: 287.6 kB / 0.8869 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.6537, allocations: 288.5 kB / 0.8871 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.6554, allocations: 1.038 MB / 0.8882 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.6558, allocations: 0.8704 MB / 0.889 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003998/0.6562, allocations: 128.6 kB / 0.8891 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.6564, allocations: 47.42 kB / 0.8892 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of SimCode: time 6.21e-07/0.6564, allocations: 0 / 0.8892 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of Templates: time 0.01638/0.6728, allocations: 10.78 MB / 0.8997 GB, free: 14.41 MB / 0.67 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)