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.001166/0.001166, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001325/0.001325, allocations: 193.2 kB / 16.13 MB, free: 6.707 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.346/1.346, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00211/0.00211, allocations: 283.1 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9613/0.9613, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 86.92 kB / 0.5945 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1872, allocations: 86.99 MB / 0.6794 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.621/0.8082, allocations: 179.5 MB / 0.8548 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006675/0.815, allocations: 4.471 MB / 0.8591 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.8161, allocations: 18.72 kB / 0.8591 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008403/0.817, allocations: 188.5 kB / 0.8593 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002362/0.8193, allocations: 0.7202 MB / 0.86 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00386/0.8232, allocations: 1.398 MB / 0.8614 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001857/0.8251, allocations: 1.686 MB / 0.863 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005032/0.8256, allocations: 384.9 kB / 0.8634 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009426/0.8265, allocations: 0.5227 MB / 0.8639 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004506/0.827, allocations: 420 kB / 0.8643 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7e-05/0.8271, allocations: 29.22 kB / 0.8643 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003272/0.8304, allocations: 1.815 MB / 0.8661 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002306/0.8306, allocations: 179 kB / 0.8663 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003201/0.8309, allocations: 293.5 kB / 0.8666 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003291/0.8342, allocations: 1.378 MB / 0.8679 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.8343, allocations: 4 kB / 0.8679 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8343, allocations: 0 / 0.8679 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.588e-05/0.8343, allocations: 0 / 0.8679 GB, free: 15.93 MB / 0.5919 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.002264/0.8366, allocations: 1.024 MB / 0.8689 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.8366, allocations: 9.719 kB / 0.8689 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002224/0.8389, allocations: 280.6 kB / 0.8692 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008207/0.8397, allocations: 447.4 kB / 0.8696 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/0.8398, allocations: 30.31 kB / 0.8697 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-05/0.8399, allocations: 54 kB / 0.8697 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.8409, allocations: 0.5438 MB / 0.8702 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.8409, allocations: 4 kB / 0.8702 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.094e-05/0.841, allocations: 21.12 kB / 0.8703 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.841, allocations: 13.38 kB / 0.8703 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.842, allocations: 457.9 kB / 0.8707 GB, free: 13.94 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.002525/0.8445, allocations: 2.114 MB / 0.8728 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009666/0.8455, allocations: 411.2 kB / 0.8732 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004783/0.846, allocations: 223.5 kB / 0.8734 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007162/0.8467, allocations: 402.5 kB / 0.8738 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006075/0.8474, allocations: 289.4 kB / 0.874 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.504e-06/0.8474, allocations: 0 / 0.874 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001774/0.8492, allocations: 0.6889 MB / 0.8747 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.8492, allocations: 60.44 kB / 0.8748 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005442/0.8498, allocations: 496.3 kB / 0.8752 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.897e-05/0.8498, allocations: 36.27 kB / 0.8753 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.85, allocations: 262.2 kB / 0.8755 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.8501, allocations: 121.3 kB / 0.8756 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.8503, allocations: 93.81 kB / 0.8757 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.8504, allocations: 363.8 kB / 0.8761 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004688/0.8509, allocations: 199.2 kB / 0.8763 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005629/0.8515, allocations: 315.6 kB / 0.8766 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009652/0.8525, allocations: 0.5423 MB / 0.8771 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.8525, allocations: 0 / 0.8771 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001211/0.8537, allocations: 0.656 MB / 0.8777 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.809e-05/0.8538, allocations: 69.08 kB / 0.8778 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.8538, allocations: 2.562 kB / 0.8778 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.8538, allocations: 5.344 kB / 0.8778 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004489/0.8542, allocations: 94.16 kB / 0.8779 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.8543, allocations: 14.27 kB / 0.8779 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005719/0.8549, allocations: 88.03 kB / 0.878 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.012e-05/0.8549, allocations: 19.34 kB / 0.878 GB, free: 8.492 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.0002235/0.8551, allocations: 191 kB / 0.8782 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.306e-05/0.8552, allocations: 60.03 kB / 0.8783 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.8564, allocations: 0.5337 MB / 0.8788 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.8564, allocations: 2.531 kB / 0.8788 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.8564, allocations: 0 / 0.8788 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.8564, allocations: 10.8 kB / 0.8788 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.8586, allocations: 1.345 MB / 0.8801 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.8586, allocations: 2.688 kB / 0.8801 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.859, allocations: 84.22 kB / 0.8802 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.371e-06/0.859, allocations: 4.906 kB / 0.8802 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.8591, allocations: 8.875 kB / 0.8802 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.8591, allocations: 5.25 kB / 0.8802 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.8591, allocations: 8.844 kB / 0.8802 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.8607, allocations: 0.9413 MB / 0.8811 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.8609, allocations: 176.6 kB / 0.8813 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.318e-05/0.861, allocations: 19.42 kB / 0.8813 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/0.8614, allocations: 39.77 kB / 0.8814 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.8616, allocations: 55.66 kB / 0.8814 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.8616, allocations: 18.02 kB / 0.8814 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003888/0.862, allocations: 342.7 kB / 0.8818 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.11e-07/0.862, allocations: 0 / 0.8818 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005905/0.8626, allocations: 153.8 kB / 0.8819 GB, free: 5.895 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.0004609/0.8631, allocations: 206.2 kB / 0.8821 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.8642, allocations: 0.5798 MB / 0.8827 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8642, allocations: 3.938 kB / 0.8827 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000646/0.8649, allocations: 288.9 kB / 0.8829 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.8662, allocations: 269.9 kB / 0.8832 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.8681, allocations: 1.22 MB / 0.8844 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.8685, allocations: 0.869 MB / 0.8852 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000492/0.869, allocations: 124.1 kB / 0.8854 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.8691, allocations: 38.03 kB / 0.8854 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.8691, allocations: 0 / 0.8854 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of Templates: time 0.01705/0.8862, allocations: 10.2 MB / 0.8954 GB, free: 10.22 MB / 0.6075 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)