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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.5206/0.5206, allocations: 94.69 MB / 107.2 MB, free: 5.184 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00117/0.001171, allocations: 179.4 kB / 130.7 MB, free: 7.535 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.658/1.658, allocations: 170.5 MB / 324.5 MB, free: 3.992 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001842/0.001842, allocations: 112.8 kB / 386.6 MB, free: 16.28 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.309e-05/4.312e-05, allocations: 4 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5392/0.5392, allocations: 61.51 MB / 0.5054 GB, free: 49.55 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.88/16.41, allocations: 5.247 GB / 5.752 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/16.42, allocations: 87.8 kB / 5.752 GB, free: 127 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.472/17.89, allocations: 342.3 MB / 6.087 GB, free: 87.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.463e-06/17.89, allocations: 0 / 6.087 GB, free: 87.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.657e-05/17.89, allocations: 26.12 kB / 6.087 GB, free: 87.22 MB / 0.5261 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.002208/17.89, allocations: 1.032 MB / 6.088 GB, free: 86.81 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/17.89, allocations: 9.875 kB / 6.088 GB, free: 86.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004078/17.89, allocations: 88.67 kB / 6.088 GB, free: 86.78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008516/17.89, allocations: 0.4908 MB / 6.088 GB, free: 86.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/17.89, allocations: 44.12 kB / 6.088 GB, free: 86.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/17.89, allocations: 61.38 kB / 6.088 GB, free: 86.55 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/17.89, allocations: 0.731 MB / 6.089 GB, free: 86.42 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/17.89, allocations: 0.7969 kB / 6.089 GB, free: 86.42 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.488e-05/17.89, allocations: 21.69 kB / 6.089 GB, free: 86.42 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/17.89, allocations: 17.5 kB / 6.089 GB, free: 86.42 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/17.89, allocations: 0.6423 MB / 6.09 GB, free: 86.42 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003477/17.9, allocations: 2.734 MB / 6.092 GB, free: 85 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/17.9, allocations: 252.2 kB / 6.093 GB, free: 84.95 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/17.9, allocations: 157.7 kB / 6.093 GB, free: 84.94 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000359/17.9, allocations: 219.5 kB / 6.093 GB, free: 84.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005546/17.9, allocations: 462.5 kB / 6.093 GB, free: 84.47 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=38): time 3.516e-06/17.9, allocations: 1.406 kB / 6.093 GB, free: 84.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38): time 0.0008652/17.9, allocations: 452.6 kB / 6.094 GB, free: 84.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001999/17.9, allocations: 0.776 MB / 6.095 GB, free: 83.47 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000682/17.9, allocations: 0.5772 MB / 6.095 GB, free: 83.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.263e-05/17.9, allocations: 36.45 kB / 6.095 GB, free: 83.31 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/17.9, allocations: 343.3 kB / 6.095 GB, free: 83.16 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.97e-05/17.9, allocations: 130.8 kB / 6.096 GB, free: 83.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/17.9, allocations: 15.41 kB / 6.096 GB, free: 83.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001051/17.9, allocations: 375.3 kB / 6.096 GB, free: 82.79 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/17.9, allocations: 181.2 kB / 6.096 GB, free: 82.79 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004834/17.9, allocations: 435.1 kB / 6.097 GB, free: 82.53 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/17.9, allocations: 260.5 kB / 6.097 GB, free: 82.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/17.9, allocations: 3.953 kB / 6.097 GB, free: 82.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009612/17.9, allocations: 0.662 MB / 6.097 GB, free: 82.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.912e-05/17.9, allocations: 37.06 kB / 6.097 GB, free: 82.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/17.9, allocations: 6.375 kB / 6.097 GB, free: 82.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/17.9, allocations: 11.31 kB / 6.097 GB, free: 82.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006215/17.9, allocations: 149.3 kB / 6.098 GB, free: 82.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/17.9, allocations: 10.77 kB / 6.098 GB, free: 82.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008314/17.9, allocations: 123 kB / 6.098 GB, free: 82.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.828e-05/17.91, allocations: 38.61 kB / 6.098 GB, free: 82.34 MB / 0.5261 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 ($whenCondition1,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001532/17.91, allocations: 149 kB / 6.098 GB, free: 82.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/17.91, allocations: 78.62 kB / 6.098 GB, free: 82.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/17.91, allocations: 0.6104 MB / 6.099 GB, free: 82.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/17.91, allocations: 7.438 kB / 6.099 GB, free: 82.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/17.91, allocations: 3.625 kB / 6.099 GB, free: 82.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.485e-06/17.91, allocations: 4.5 kB / 6.099 GB, free: 82.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/17.91, allocations: 1.358 MB / 6.1 GB, free: 81.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/17.91, allocations: 3.656 kB / 6.1 GB, free: 81.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/17.91, allocations: 82.31 kB / 6.1 GB, free: 81.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/17.91, allocations: 5.969 kB / 6.1 GB, free: 81.37 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/17.91, allocations: 22.11 kB / 6.1 GB, free: 81.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/17.91, allocations: 3.844 kB / 6.1 GB, free: 81.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/17.91, allocations: 7.312 kB / 6.1 GB, free: 81.37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009824/17.91, allocations: 0.9033 MB / 6.101 GB, free: 80.92 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/17.91, allocations: 251.4 kB / 6.101 GB, free: 80.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/17.91, allocations: 19.78 kB / 6.101 GB, free: 80.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005554/17.91, allocations: 52.23 kB / 6.101 GB, free: 80.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/17.91, allocations: 48.69 kB / 6.101 GB, free: 80.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.584e-05/17.91, allocations: 20.23 kB / 6.101 GB, free: 80.78 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000599/17.91, allocations: 0.5868 MB / 6.102 GB, free: 80.69 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.3e-07/17.91, allocations: 0 / 6.102 GB, free: 80.69 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001584/17.91, allocations: 0.5327 MB / 6.102 GB, free: 80.65 MB / 0.5261 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) * 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 (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.001919/17.91, allocations: 1.272 MB / 6.104 GB, free: 80.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007517/17.92, allocations: 0.5052 MB / 6.104 GB, free: 80.37 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/17.92, allocations: 0 / 6.104 GB, free: 80.37 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003555/17.92, allocations: 234.3 kB / 6.104 GB, free: 80.37 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/17.92, allocations: 391.4 kB / 6.105 GB, free: 80.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/17.92, allocations: 0.9853 MB / 6.106 GB, free: 79.99 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/17.92, allocations: 0.9547 MB / 6.107 GB, free: 79.29 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005903/17.92, allocations: 153.4 kB / 6.107 GB, free: 79.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/17.92, allocations: 69.02 kB / 6.107 GB, free: 79.28 MB / 0.5261 GB Notification: Performance of SimCode: time 5.31e-07/17.92, allocations: 0 / 6.107 GB, free: 79.28 MB / 0.5261 GB Notification: Performance of Templates: time 0.05147/17.97, allocations: 34.87 MB / 6.141 GB, free: 78.16 MB / 0.5261 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)