Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.335/1.335, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009551/0.0009551, allocations: 184.4 kB / 327.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.4 MB / 0.5785 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000696/0.000696, allocations: 81.17 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003687, allocations: 15.25 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2232, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.604/4.828, allocations: 2.181 GB / 3.083 GB, free: 38.26 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/4.828, allocations: 89.08 kB / 3.083 GB, free: 38.18 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.663/6.491, allocations: 412 MB / 3.485 GB, free: 215 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.613e-06/6.491, allocations: 0 / 3.485 GB, free: 215 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.477e-05/6.491, allocations: 21.09 kB / 3.485 GB, free: 215 MB / 0.8855 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.002643/6.494, allocations: 1.066 MB / 3.486 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/6.494, allocations: 9.906 kB / 3.486 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/6.496, allocations: 280.8 kB / 3.486 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009818/6.497, allocations: 484.5 kB / 3.487 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/6.497, allocations: 35.84 kB / 3.487 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/6.497, allocations: 49.25 kB / 3.487 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/6.498, allocations: 0.5492 MB / 3.488 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/6.498, allocations: 5.625 kB / 3.488 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.166e-05/6.498, allocations: 19.09 kB / 3.488 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/6.498, allocations: 11.12 kB / 3.488 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009765/6.499, allocations: 466.1 kB / 3.488 GB, free: 214.1 MB / 0.8855 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.002403/6.502, allocations: 2.144 MB / 3.49 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/6.503, allocations: 420.5 kB / 3.491 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004789/6.503, allocations: 230.6 kB / 3.491 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005102/6.504, allocations: 396 kB / 3.491 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005612/6.504, allocations: 296.6 kB / 3.491 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=37): time 2.485e-06/6.504, allocations: 0 / 3.491 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37): time 0.0017/6.506, allocations: 0.7109 MB / 3.492 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/6.506, allocations: 57.28 kB / 3.492 GB, free: 212.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005776/6.507, allocations: 495.9 kB / 3.493 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/6.507, allocations: 36.98 kB / 3.493 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/6.507, allocations: 256.8 kB / 3.493 GB, free: 212 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.524e-05/6.507, allocations: 128.6 kB / 3.493 GB, free: 212 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/6.507, allocations: 9.188 kB / 3.493 GB, free: 212 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.859e-05/6.507, allocations: 369.4 kB / 3.493 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004561/6.508, allocations: 204.7 kB / 3.494 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/6.508, allocations: 338.7 kB / 3.494 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008454/6.509, allocations: 0.5596 MB / 3.494 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/6.509, allocations: 7.469 kB / 3.494 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001103/6.51, allocations: 0.6651 MB / 3.495 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/6.51, allocations: 61.38 kB / 3.495 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/6.51, allocations: 3.344 kB / 3.495 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/6.51, allocations: 6.406 kB / 3.495 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/6.511, allocations: 105.5 kB / 3.495 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/6.511, allocations: 9.438 kB / 3.495 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005507/6.511, allocations: 96.56 kB / 3.495 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/6.511, allocations: 21.67 kB / 3.495 GB, free: 211.2 MB / 0.8855 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.0001967/6.512, allocations: 198 kB / 3.496 GB, free: 211 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/6.512, allocations: 58.98 kB / 3.496 GB, free: 211 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009968/6.513, allocations: 0.5509 MB / 3.496 GB, free: 211 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/6.513, allocations: 3.875 kB / 3.496 GB, free: 211 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/6.513, allocations: 0 / 3.496 GB, free: 211 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/6.513, allocations: 3.75 kB / 3.496 GB, free: 211 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/6.515, allocations: 1.368 MB / 3.498 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/6.515, allocations: 3.938 kB / 3.498 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/6.515, allocations: 83.03 kB / 3.498 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/6.515, allocations: 6.906 kB / 3.498 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/6.515, allocations: 13.14 kB / 3.498 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.217e-06/6.515, allocations: 3.938 kB / 3.498 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/6.515, allocations: 6.781 kB / 3.498 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/6.516, allocations: 0.9641 MB / 3.499 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/6.517, allocations: 173.4 kB / 3.499 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.61e-05/6.517, allocations: 14.98 kB / 3.499 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004347/6.517, allocations: 51.7 kB / 3.499 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/6.517, allocations: 50.55 kB / 3.499 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/6.517, allocations: 19.3 kB / 3.499 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003317/6.518, allocations: 345.8 kB / 3.499 GB, free: 210 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/6.518, allocations: 0 / 3.499 GB, free: 210 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0009755/6.519, allocations: 287.1 kB / 3.499 GB, free: 210 MB / 0.8855 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.002187/6.521, allocations: 1.459 MB / 3.501 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001012/6.522, allocations: 0.5928 MB / 3.501 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/6.522, allocations: 3.375 kB / 3.501 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005834/6.522, allocations: 301.5 kB / 3.502 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/6.524, allocations: 282.4 kB / 3.502 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/6.526, allocations: 1.218 MB / 3.503 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/6.526, allocations: 0.8674 MB / 3.504 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005479/6.527, allocations: 122.4 kB / 3.504 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/6.527, allocations: 41.81 kB / 3.504 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of SimCode: time 3.91e-07/6.527, allocations: 0 / 3.504 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.03829/6.565, allocations: 27.45 MB / 3.531 GB, free: 207.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)