Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.674/1.674, allocations: 297.8 MB / 313.8 MB, free: 116 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 176.5 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.2 MB / 0.6626 GB, free: 4.266 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009328/0.0009324, allocations: 105.3 kB / 0.7808 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.000483, allocations: 20.55 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6792/0.6797, allocations: 120.3 MB / 1.026 GB, free: 55.82 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.132/4.812, allocations: 1.86 GB / 2.886 GB, free: 300.7 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003422/4.812, allocations: 90.12 kB / 2.886 GB, free: 300.7 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.588/5.4, allocations: 300 MB / 3.179 GB, free: 73.64 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.434e-06/5.4, allocations: 0 / 3.179 GB, free: 73.64 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.385e-05/5.4, allocations: 12 kB / 3.179 GB, free: 73.62 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001627/5.402, allocations: 0.6905 MB / 3.18 GB, free: 72.88 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/5.402, allocations: 12.03 kB / 3.18 GB, free: 72.87 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000387/5.402, allocations: 56.52 kB / 3.18 GB, free: 72.82 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005454/5.403, allocations: 331.2 kB / 3.18 GB, free: 72.45 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/5.403, allocations: 24.94 kB / 3.18 GB, free: 72.43 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/5.403, allocations: 28.38 kB / 3.18 GB, free: 72.4 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005114/5.403, allocations: 308.3 kB / 3.18 GB, free: 72.07 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/5.403, allocations: 11.88 kB / 3.18 GB, free: 72.06 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/5.403, allocations: 12 kB / 3.18 GB, free: 72.05 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/5.403, allocations: 4 kB / 3.18 GB, free: 72.04 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003835/5.404, allocations: 209.6 kB / 3.181 GB, free: 71.84 MB / 0.9792 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.001394/5.405, allocations: 1.527 MB / 3.182 GB, free: 70.18 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/5.405, allocations: 110.5 kB / 3.182 GB, free: 70.06 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/5.406, allocations: 84.81 kB / 3.182 GB, free: 69.98 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004852/5.406, allocations: 303.2 kB / 3.183 GB, free: 69.62 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/5.406, allocations: 38.5 kB / 3.183 GB, free: 69.58 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=13): time 3.266e-06/5.406, allocations: 4 kB / 3.183 GB, free: 69.57 MB / 0.9792 GB Notification: Performance of matching and sorting (n=13): time 0.0008297/5.407, allocations: 271.4 kB / 3.183 GB, free: 69.3 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/5.407, allocations: 51.41 kB / 3.183 GB, free: 69.24 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/5.407, allocations: 316.4 kB / 3.183 GB, free: 68.93 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/5.407, allocations: 29.7 kB / 3.183 GB, free: 68.89 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 9.729e-05/5.407, allocations: 184.1 kB / 3.183 GB, free: 68.71 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/5.408, allocations: 39.36 kB / 3.183 GB, free: 68.67 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/5.408, allocations: 4 kB / 3.183 GB, free: 68.66 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.3e-05/5.408, allocations: 342.8 kB / 3.184 GB, free: 68.32 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/5.408, allocations: 59.95 kB / 3.184 GB, free: 68.26 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/5.408, allocations: 127.4 kB / 3.184 GB, free: 68.11 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/5.408, allocations: 177 kB / 3.184 GB, free: 67.92 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/5.408, allocations: 0 / 3.184 GB, free: 67.92 MB / 0.9792 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003765/5.409, allocations: 222.9 kB / 3.184 GB, free: 67.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/5.409, allocations: 14.02 kB / 3.184 GB, free: 67.69 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/5.409, allocations: 0 / 3.184 GB, free: 67.69 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/5.409, allocations: 7.938 kB / 3.184 GB, free: 67.68 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/5.409, allocations: 35.92 kB / 3.184 GB, free: 67.64 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/5.409, allocations: 0 / 3.184 GB, free: 67.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/5.409, allocations: 59.61 kB / 3.184 GB, free: 67.59 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/5.409, allocations: 4 kB / 3.184 GB, free: 67.58 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0001466/5.409, allocations: 145.8 kB / 3.185 GB, free: 67.43 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/5.409, allocations: 23.72 kB / 3.185 GB, free: 67.41 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/5.41, allocations: 212.3 kB / 3.185 GB, free: 67.19 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/5.41, allocations: 4 kB / 3.185 GB, free: 67.18 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/5.41, allocations: 0 / 3.185 GB, free: 67.18 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/5.41, allocations: 3.938 kB / 3.185 GB, free: 67.18 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009077/5.411, allocations: 0.6756 MB / 3.185 GB, free: 66.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/5.411, allocations: 4 kB / 3.185 GB, free: 66.42 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/5.411, allocations: 36.14 kB / 3.185 GB, free: 66.39 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/5.411, allocations: 4 kB / 3.185 GB, free: 66.38 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/5.411, allocations: 4 kB / 3.186 GB, free: 66.38 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/5.411, allocations: 8.125 kB / 3.186 GB, free: 66.37 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/5.411, allocations: 7.984 kB / 3.186 GB, free: 66.36 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/5.411, allocations: 344.5 kB / 3.186 GB, free: 65.99 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/5.411, allocations: 116.7 kB / 3.186 GB, free: 65.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/5.411, allocations: 8 kB / 3.186 GB, free: 65.85 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/5.412, allocations: 15.98 kB / 3.186 GB, free: 65.84 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/5.412, allocations: 15.92 kB / 3.186 GB, free: 65.82 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/5.412, allocations: 12 kB / 3.186 GB, free: 65.81 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001829/5.412, allocations: 223 kB / 3.186 GB, free: 65.59 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.4e-07/5.412, allocations: 0 / 3.186 GB, free: 65.59 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0009052/5.413, allocations: 183.8 kB / 3.186 GB, free: 65.41 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.002073/5.415, allocations: 1.181 MB / 3.188 GB, free: 64.21 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004099/5.415, allocations: 159.8 kB / 3.188 GB, free: 64.05 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/5.415, allocations: 0 / 3.188 GB, free: 64.05 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/5.416, allocations: 84.58 kB / 3.188 GB, free: 63.97 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008399/5.416, allocations: 143.1 kB / 3.188 GB, free: 63.84 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009194/5.417, allocations: 0.6164 MB / 3.189 GB, free: 63.17 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/5.418, allocations: 0.7797 MB / 3.189 GB, free: 62.36 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002317/5.418, allocations: 59.06 kB / 3.189 GB, free: 62.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/5.418, allocations: 23.44 kB / 3.189 GB, free: 62.28 MB / 0.9792 GB Notification: Performance of SimCode: time 6.91e-07/5.418, allocations: 0 / 3.189 GB, free: 62.28 MB / 0.9792 GB Notification: Performance of Templates: time 0.02515/5.443, allocations: 19.48 MB / 3.208 GB, free: 42.89 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)