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.001055/0.001054, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.009586/0.009586, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.385/1.385, allocations: 223.3 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001739/0.001739, allocations: 270.9 kB / 291.7 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9532/0.9532, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004543/0.0004543, allocations: 15.61 kB / 0.5986 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1943, allocations: 88.55 MB / 0.6851 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.599/0.7934, allocations: 177.2 MB / 0.8581 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006257/0.7997, allocations: 4.422 MB / 0.8625 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005116/0.8003, allocations: 19.72 kB / 0.8625 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006459/0.8009, allocations: 199.5 kB / 0.8627 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001815/0.8027, allocations: 0.7112 MB / 0.8634 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003524/0.8063, allocations: 1.4 MB / 0.8647 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001779/0.8081, allocations: 1.685 MB / 0.8664 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005423/0.8086, allocations: 372.8 kB / 0.8667 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008889/0.8095, allocations: 0.5122 MB / 0.8672 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004907/0.81, allocations: 419.6 kB / 0.8676 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.511e-05/0.8101, allocations: 24.62 kB / 0.8677 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003032/0.8131, allocations: 1.812 MB / 0.8694 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001932/0.8133, allocations: 162.4 kB / 0.8696 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003183/0.8137, allocations: 314 kB / 0.8699 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.8157, allocations: 1.371 MB / 0.8712 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.8157, allocations: 0 / 0.8712 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8157, allocations: 3.938 kB / 0.8712 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.8157, allocations: 2.812 kB / 0.8712 GB, free: 14.66 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.001721/0.8175, allocations: 0.9329 MB / 0.8721 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.8175, allocations: 8.875 kB / 0.8721 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/0.8195, allocations: 283.3 kB / 0.8724 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007137/0.8203, allocations: 436.9 kB / 0.8728 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.8203, allocations: 32.94 kB / 0.8729 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.009e-05/0.8204, allocations: 50.83 kB / 0.8729 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.8214, allocations: 0.5701 MB / 0.8735 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.8215, allocations: 0 / 0.8735 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/0.8215, allocations: 15.34 kB / 0.8735 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.8215, allocations: 14.44 kB / 0.8735 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.8226, allocations: 490 kB / 0.874 GB, free: 12.74 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.002518/0.8251, allocations: 2.129 MB / 0.876 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009873/0.8261, allocations: 431.9 kB / 0.8765 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005007/0.8266, allocations: 248 kB / 0.8767 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007217/0.8274, allocations: 417.9 kB / 0.8771 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006518/0.828, allocations: 314 kB / 0.8774 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.064e-06/0.828, allocations: 0 / 0.8774 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001891/0.8299, allocations: 0.7334 MB / 0.8781 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.83, allocations: 61.31 kB / 0.8782 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005832/0.8306, allocations: 0.4923 MB / 0.8786 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.8306, allocations: 35.61 kB / 0.8787 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.8308, allocations: 258.9 kB / 0.8789 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.831, allocations: 124.1 kB / 0.879 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.739e-05/0.831, allocations: 39.83 kB / 0.8791 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.8312, allocations: 368 kB / 0.8794 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005571/0.8318, allocations: 213.3 kB / 0.8796 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006129/0.8324, allocations: 328.1 kB / 0.88 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.8335, allocations: 0.5729 MB / 0.8805 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.8335, allocations: 4 kB / 0.8805 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001407/0.8349, allocations: 0.6873 MB / 0.8812 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.625e-05/0.835, allocations: 59.41 kB / 0.8812 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.835, allocations: 4 kB / 0.8812 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.8351, allocations: 8 kB / 0.8813 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005219/0.8356, allocations: 105.1 kB / 0.8814 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.8356, allocations: 4 kB / 0.8814 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006707/0.8363, allocations: 99.41 kB / 0.8815 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.726e-05/0.8363, allocations: 20 kB / 0.8815 GB, free: 6.344 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.0002804/0.8366, allocations: 202.9 kB / 0.8817 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.505e-05/0.8367, allocations: 51.34 kB / 0.8817 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.8381, allocations: 0.5658 MB / 0.8823 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.8381, allocations: 4 kB / 0.8823 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8381, allocations: 3.938 kB / 0.8823 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.8381, allocations: 7.984 kB / 0.8823 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.8405, allocations: 1.378 MB / 0.8836 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.8405, allocations: 7.938 kB / 0.8836 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004206/0.8409, allocations: 87.88 kB / 0.8837 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.8409, allocations: 4 kB / 0.8837 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.841, allocations: 12 kB / 0.8837 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.841, allocations: 4 kB / 0.8837 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.841, allocations: 11.92 kB / 0.8838 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.8428, allocations: 0.9873 MB / 0.8847 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.843, allocations: 184.3 kB / 0.8849 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.208e-05/0.8431, allocations: 16 kB / 0.8849 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000495/0.8436, allocations: 47.95 kB / 0.885 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.8438, allocations: 55.73 kB / 0.885 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.8438, allocations: 16 kB / 0.885 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004085/0.8442, allocations: 342.8 kB / 0.8853 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8442, allocations: 0 / 0.8853 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006232/0.8448, allocations: 159.8 kB / 0.8855 GB, free: 2.023 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.0004673/0.8453, allocations: 203.3 kB / 0.8857 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001224/0.8466, allocations: 0.6079 MB / 0.8863 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.8466, allocations: 0 / 0.8863 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000683/0.8473, allocations: 307 kB / 0.8866 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.8489, allocations: 275.5 kB / 0.8868 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.8509, allocations: 1.263 MB / 0.8881 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.8514, allocations: 0.8629 MB / 0.8889 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005343/0.8519, allocations: 132.6 kB / 0.889 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.8521, allocations: 39.44 kB / 0.8891 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.8521, allocations: 0 / 0.8891 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of Templates: time 0.01737/0.8694, allocations: 10.15 MB / 0.899 GB, free: 4.266 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)