Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.89/2.89, allocations: 287.5 MB / 302.4 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001415/0.001415, allocations: 180.6 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.144/2.144, allocations: 205.4 MB / 0.6297 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001259/0.001259, allocations: 97.97 kB / 0.743 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005041/0.0005043, allocations: 12.86 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2357, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.9656/1.201, allocations: 165.3 MB / 1.14 GB, free: 13.59 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009087/1.21, allocations: 4.181 MB / 1.144 GB, free: 12.19 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008778/1.211, allocations: 14.72 kB / 1.144 GB, free: 12.18 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001/1.212, allocations: 173 kB / 1.144 GB, free: 12.11 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003441/1.216, allocations: 0.5874 MB / 1.145 GB, free: 11.84 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005089/1.221, allocations: 1.06 MB / 1.146 GB, free: 11.51 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002778/1.224, allocations: 1.437 MB / 1.147 GB, free: 11.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009634/1.225, allocations: 344.9 kB / 1.147 GB, free: 11.21 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/1.227, allocations: 0.5109 MB / 1.148 GB, free: 11.09 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/1.228, allocations: 391.3 kB / 1.148 GB, free: 10.98 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001405/1.228, allocations: 30.5 kB / 1.148 GB, free: 10.98 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003459/1.232, allocations: 0.7886 MB / 1.149 GB, free: 10.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003612/1.232, allocations: 170.5 kB / 1.149 GB, free: 10.81 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003285/1.232, allocations: 132.8 kB / 1.149 GB, free: 10.76 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002293/1.235, allocations: 0.7598 MB / 1.15 GB, free: 10.38 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/1.235, allocations: 4.656 kB / 1.15 GB, free: 10.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.186e-06/1.235, allocations: 0 / 1.15 GB, free: 10.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.055e-05/1.235, allocations: 0 / 1.15 GB, free: 10.38 MB / 0.698 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.002728/1.237, allocations: 0.9359 MB / 1.151 GB, free: 9.637 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/1.238, allocations: 9 kB / 1.151 GB, free: 9.637 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003038/1.241, allocations: 286.6 kB / 1.151 GB, free: 9.523 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/1.242, allocations: 426.5 kB / 1.152 GB, free: 9.203 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.398e-05/1.242, allocations: 32.59 kB / 1.152 GB, free: 9.199 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/1.242, allocations: 43.72 kB / 1.152 GB, free: 9.199 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/1.244, allocations: 0.5635 MB / 1.152 GB, free: 8.961 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/1.244, allocations: 4.812 kB / 1.152 GB, free: 8.957 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.142e-05/1.244, allocations: 22.25 kB / 1.152 GB, free: 8.957 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/1.244, allocations: 9.781 kB / 1.152 GB, free: 8.957 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/1.246, allocations: 485.4 kB / 1.153 GB, free: 8.859 MB / 0.698 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.004164/1.25, allocations: 2.133 MB / 1.155 GB, free: 7.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/1.252, allocations: 441.7 kB / 1.155 GB, free: 7.156 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008755/1.253, allocations: 239.1 kB / 1.156 GB, free: 7.105 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/1.254, allocations: 406.9 kB / 1.156 GB, free: 6.703 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001098/1.255, allocations: 316.5 kB / 1.156 GB, free: 6.566 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 6.772e-06/1.255, allocations: 3.984 kB / 1.156 GB, free: 6.562 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.003164/1.258, allocations: 0.7252 MB / 1.157 GB, free: 6.375 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.133e-05/1.258, allocations: 56.97 kB / 1.157 GB, free: 6.312 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009803/1.259, allocations: 498.8 kB / 1.157 GB, free: 6.113 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.842e-05/1.259, allocations: 33.73 kB / 1.158 GB, free: 6.082 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/1.259, allocations: 260.3 kB / 1.158 GB, free: 5.938 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/1.26, allocations: 127.9 kB / 1.158 GB, free: 5.844 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/1.26, allocations: 9 kB / 1.158 GB, free: 5.844 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002025/1.26, allocations: 364 kB / 1.158 GB, free: 5.512 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008776/1.261, allocations: 217.7 kB / 1.158 GB, free: 5.461 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/1.262, allocations: 333 kB / 1.159 GB, free: 5.297 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009973/1.263, allocations: 290.4 kB / 1.159 GB, free: 5.191 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/1.263, allocations: 0.9375 kB / 1.159 GB, free: 5.191 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002335/1.265, allocations: 0.6706 MB / 1.16 GB, free: 4.957 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.184e-05/1.265, allocations: 67.23 kB / 1.16 GB, free: 4.891 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/1.265, allocations: 2.562 kB / 1.16 GB, free: 4.891 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/1.265, allocations: 6.031 kB / 1.16 GB, free: 4.891 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009302/1.266, allocations: 109.2 kB / 1.16 GB, free: 4.863 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/1.266, allocations: 5.062 kB / 1.16 GB, free: 4.863 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/1.267, allocations: 93.78 kB / 1.16 GB, free: 4.816 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.409e-05/1.268, allocations: 23.47 kB / 1.16 GB, free: 4.816 MB / 0.698 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 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003874/1.268, allocations: 195.1 kB / 1.16 GB, free: 4.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/1.268, allocations: 53.09 kB / 1.16 GB, free: 4.652 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/1.27, allocations: 0.5722 MB / 1.161 GB, free: 4.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/1.27, allocations: 3.969 kB / 1.161 GB, free: 4.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/1.27, allocations: 5.219 kB / 1.161 GB, free: 4.477 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/1.27, allocations: 3.984 kB / 1.161 GB, free: 4.473 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003934/1.274, allocations: 1.378 MB / 1.162 GB, free: 3.715 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/1.274, allocations: 8.094 kB / 1.162 GB, free: 3.711 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008063/1.275, allocations: 88.81 kB / 1.162 GB, free: 3.684 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-05/1.275, allocations: 9.859 kB / 1.162 GB, free: 3.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/1.275, allocations: 11 kB / 1.162 GB, free: 3.676 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.298e-05/1.275, allocations: 9.219 kB / 1.162 GB, free: 3.672 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.275, allocations: 3.281 kB / 1.162 GB, free: 3.672 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003202/1.278, allocations: 0.9867 MB / 1.163 GB, free: 3.043 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004571/1.279, allocations: 171.2 kB / 1.163 GB, free: 2.887 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/1.279, allocations: 18.25 kB / 1.163 GB, free: 2.875 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008383/1.28, allocations: 51.55 kB / 1.163 GB, free: 2.855 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/1.28, allocations: 48.19 kB / 1.163 GB, free: 2.828 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.349e-05/1.28, allocations: 15.44 kB / 1.164 GB, free: 2.824 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006848/1.281, allocations: 350 kB / 1.164 GB, free: 2.613 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.281, allocations: 0 / 1.164 GB, free: 2.613 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008768/1.282, allocations: 153.6 kB / 1.164 GB, free: 2.586 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006081/1.282, allocations: 183.2 kB / 1.164 GB, free: 2.457 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002122/1.285, allocations: 0.6022 MB / 1.165 GB, free: 2.121 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.285, allocations: 0 / 1.165 GB, free: 2.121 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/1.286, allocations: 306.3 kB / 1.165 GB, free: 1.988 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/1.289, allocations: 281.3 kB / 1.165 GB, free: 1.848 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/1.292, allocations: 1.228 MB / 1.167 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006224/1.292, allocations: 0.8692 MB / 1.167 GB, free: 144 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001081/1.294, allocations: 128.3 kB / 1.167 GB, free: 80 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/1.294, allocations: 43.75 kB / 1.168 GB, free: 68 kB / 0.698 GB Notification: Performance of SimCode: time 2.034e-06/1.294, allocations: 0 / 1.168 GB, free: 68 kB / 0.698 GB Notification: Performance of Templates: time 0.02861/1.322, allocations: 9.843 MB / 1.177 GB, free: 11.16 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)