Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.005385/0.005385, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001318/0.001318, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.1 MB / 222.5 MB, free: 4.391 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.629/0.629, allocations: 95.48 MB / 365.4 MB, free: 9.715 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 79.89 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1812, allocations: 69.08 MB / 0.5711 GB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.7278/0.9091, allocations: 195.7 MB / 0.7622 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005828/0.9149, allocations: 3.663 MB / 0.7658 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000757/0.9157, allocations: 11.94 kB / 0.7658 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.9172, allocations: 337.8 kB / 0.7661 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002395/0.9196, allocations: 0.5127 MB / 0.7666 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006327/0.926, allocations: 2.068 MB / 0.7686 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00265/0.9286, allocations: 1.614 MB / 0.7702 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.9298, allocations: 0.5358 MB / 0.7707 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001631/0.9314, allocations: 0.6891 MB / 0.7714 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009408/0.9324, allocations: 0.5409 MB / 0.7719 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002166/0.9326, allocations: 72 kB / 0.772 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004292/0.9369, allocations: 1.996 MB / 0.774 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004104/0.9373, allocations: 295.2 kB / 0.7742 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008713/0.9382, allocations: 430.2 kB / 0.7747 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004937/0.9432, allocations: 2.092 MB / 0.7767 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.9432, allocations: 0 / 0.7767 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9432, allocations: 0 / 0.7767 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.365e-05/0.9432, allocations: 0 / 0.7767 GB, free: 11.77 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00326/0.9465, allocations: 1.274 MB / 0.7779 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.9466, allocations: 11.98 kB / 0.778 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005237/0.9471, allocations: 91.05 kB / 0.778 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009067/0.948, allocations: 0.4925 MB / 0.7785 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.308e-05/0.9481, allocations: 45.31 kB / 0.7786 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.229e-05/0.9481, allocations: 52 kB / 0.7786 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.9497, allocations: 0.802 MB / 0.7794 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.9497, allocations: 0 / 0.7794 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-05/0.9498, allocations: 28 kB / 0.7794 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.9498, allocations: 16 kB / 0.7794 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.9513, allocations: 0.7505 MB / 0.7802 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004753/0.956, allocations: 3.448 MB / 0.7835 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007103/0.9567, allocations: 312.8 kB / 0.7838 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004577/0.9572, allocations: 205.4 kB / 0.784 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000874/0.9581, allocations: 0.8065 MB / 0.7848 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008835/0.959, allocations: 0.5039 MB / 0.7853 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=38): time 3.256e-06/0.959, allocations: 0 / 0.7853 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of matching and sorting (n=38): time 0.001878/0.9609, allocations: 0.7182 MB / 0.786 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003877/0.9613, allocations: 0.7725 MB / 0.7868 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009494/0.9623, allocations: 0.6602 MB / 0.7874 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.361e-05/0.9623, allocations: 37.7 kB / 0.7875 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/0.9626, allocations: 335.6 kB / 0.7878 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.9628, allocations: 130.1 kB / 0.7879 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/0.963, allocations: 150 kB / 0.788 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.9632, allocations: 370.8 kB / 0.7884 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005174/0.9637, allocations: 229 kB / 0.7886 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007451/0.9645, allocations: 492.8 kB / 0.7891 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.9657, allocations: 0.6375 MB / 0.7897 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.9657, allocations: 0 / 0.7897 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001825/0.9675, allocations: 0.7516 MB / 0.7904 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.202e-05/0.9676, allocations: 37.7 kB / 0.7905 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.9677, allocations: 8 kB / 0.7905 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/0.9677, allocations: 4 kB / 0.7905 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006497/0.9683, allocations: 139.8 kB / 0.7906 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.028e-05/0.9684, allocations: 19.86 kB / 0.7906 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008099/0.9692, allocations: 103.2 kB / 0.7907 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.014e-05/0.9693, allocations: 31.98 kB / 0.7908 GB, free: 12.23 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 (m_flow.count,$PRE.m_flow.count,m_flow.T_start,$PRE.m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * 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.000332/0.9696, allocations: 225.6 kB / 0.791 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.9698, allocations: 79.14 kB / 0.7911 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.9712, allocations: 0.6493 MB / 0.7917 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/0.9713, allocations: 11.98 kB / 0.7917 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/0.9713, allocations: 7.938 kB / 0.7917 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.9713, allocations: 7.984 kB / 0.7917 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.9728, allocations: 1.366 MB / 0.7931 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.9728, allocations: 7.938 kB / 0.7931 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/0.9732, allocations: 71.89 kB / 0.7931 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.9732, allocations: 8.188 kB / 0.7931 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.9733, allocations: 15.98 kB / 0.7931 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.091e-05/0.9733, allocations: 8.875 kB / 0.7932 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.9733, allocations: 4 kB / 0.7932 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.9751, allocations: 0.8787 MB / 0.794 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003653/0.9755, allocations: 212 kB / 0.7942 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/0.9757, allocations: 27.78 kB / 0.7942 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005864/0.9763, allocations: 44.02 kB / 0.7943 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.9764, allocations: 39.89 kB / 0.7943 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/0.9764, allocations: 25.17 kB / 0.7944 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008292/0.9773, allocations: 0.6005 MB / 0.7949 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9773, allocations: 0 / 0.7949 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001607/0.9789, allocations: 451.5 kB / 0.7954 GB, free: 7.328 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (temDyn.T) * Number of discrete variables: 3 ($whenCondition1,m_flow.T_start,m_flow.count) * Number of discrete states: 1 (m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.001555/0.9805, allocations: 0.5196 MB / 0.7959 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001445/0.9819, allocations: 0.597 MB / 0.7965 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.9819, allocations: 192 / 0.7965 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006644/0.9826, allocations: 276.8 kB / 0.7967 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.9844, allocations: 414.9 kB / 0.7971 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.987, allocations: 1.304 MB / 0.7984 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006001/0.9876, allocations: 0.9454 MB / 0.7993 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006577/0.9883, allocations: 173.8 kB / 0.7995 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.9885, allocations: 67.42 kB / 0.7995 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.9885, allocations: 0 / 0.7995 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of Templates: time 0.03682/1.025, allocations: 21.8 MB / 0.8208 GB, free: 13.3 MB / 0.6387 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)