Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002255/0.002256, allocations: 191.6 kB / 16.14 MB, free: 6.703 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.473/1.473, allocations: 205.1 MB / 222 MB, free: 4.984 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.5924/0.5924, allocations: 95.48 MB / 364.8 MB, free: 10.15 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.001378/0.001378, allocations: 67.91 kB / 444.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4336, allocations: 69.07 MB / 0.5017 GB, free: 17.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5048/0.9384, allocations: 143.9 MB / 0.6422 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00388/0.9424, allocations: 2.89 MB / 0.6451 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004999/0.9429, allocations: 17.97 kB / 0.6451 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006954/0.9437, allocations: 163.8 kB / 0.6452 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008147/0.9445, allocations: 353.9 kB / 0.6456 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.9459, allocations: 457.5 kB / 0.646 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.9474, allocations: 1.312 MB / 0.6473 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004466/0.9479, allocations: 275.9 kB / 0.6476 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007787/0.9487, allocations: 359.8 kB / 0.6479 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005565/0.9492, allocations: 357.5 kB / 0.6482 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.597e-05/0.9493, allocations: 20.09 kB / 0.6483 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004114/0.9497, allocations: 167 kB / 0.6484 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.9498, allocations: 94.22 kB / 0.6485 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.9501, allocations: 206.2 kB / 0.6487 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005488/0.9506, allocations: 0.5487 MB / 0.6492 GB, free: 484 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.9506, allocations: 3.094 kB / 0.6492 GB, free: 484 kB / 494.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.9506, allocations: 0 / 0.6492 GB, free: 484 kB / 494.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.9507, allocations: 5.812 kB / 0.6492 GB, free: 480 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001114/0.9518, allocations: 0.7265 MB / 0.65 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.9518, allocations: 11.33 kB / 0.65 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/0.9521, allocations: 57.41 kB / 0.65 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/0.9526, allocations: 354.1 kB / 0.6504 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.109e-05/0.9526, allocations: 59.88 kB / 0.6504 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/0.9527, allocations: 35.55 kB / 0.6504 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006772/0.9534, allocations: 360.6 kB / 0.6508 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.9534, allocations: 3.531 kB / 0.6508 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/0.9534, allocations: 11.12 kB / 0.6508 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.9535, allocations: 11.31 kB / 0.6508 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005836/0.9541, allocations: 242.7 kB / 0.651 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/0.9562, allocations: 1.423 MB / 0.6524 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.9565, allocations: 154.9 kB / 0.6526 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.9566, allocations: 70.53 kB / 0.6527 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003328/0.957, allocations: 123 kB / 0.6528 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.957, allocations: 37.83 kB / 0.6528 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.957, allocations: 0 / 0.6528 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0006296/0.9577, allocations: 269.9 kB / 0.6531 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.9577, allocations: 107.8 kB / 0.6532 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/0.9581, allocations: 400 kB / 0.6535 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.9582, allocations: 32.7 kB / 0.6536 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.9583, allocations: 232.6 kB / 0.6538 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.9584, allocations: 50.98 kB / 0.6538 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.203e-05/0.9585, allocations: 52.56 kB / 0.6539 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.9586, allocations: 353.3 kB / 0.6542 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.9588, allocations: 82.78 kB / 0.6543 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.959, allocations: 188.3 kB / 0.6545 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.9595, allocations: 275.9 kB / 0.6548 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9595, allocations: 0 / 0.6548 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000505/0.96, allocations: 318.8 kB / 0.6551 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.96, allocations: 12.12 kB / 0.6551 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.96, allocations: 2.781 kB / 0.6551 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.96, allocations: 6.547 kB / 0.6551 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.9603, allocations: 58.36 kB / 0.6551 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.9603, allocations: 8.828 kB / 0.6551 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.9606, allocations: 45.08 kB / 0.6552 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.9606, allocations: 13.47 kB / 0.6552 GB, free: 13.39 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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.0001554/0.9608, allocations: 156.1 kB / 0.6554 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.235e-05/0.9609, allocations: 50.62 kB / 0.6554 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004199/0.9613, allocations: 217.4 kB / 0.6556 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.9613, allocations: 0 / 0.6556 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.9613, allocations: 3.156 kB / 0.6556 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.9613, allocations: 2.766 kB / 0.6556 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007665/0.9621, allocations: 0.6299 MB / 0.6562 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.9621, allocations: 2.469 kB / 0.6562 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.9623, allocations: 32.72 kB / 0.6563 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.9623, allocations: 4 kB / 0.6563 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.9623, allocations: 2.156 kB / 0.6563 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.9623, allocations: 5.438 kB / 0.6563 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.9623, allocations: 4.062 kB / 0.6563 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006352/0.9629, allocations: 408.5 kB / 0.6567 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-05/0.963, allocations: 114.8 kB / 0.6568 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.9631, allocations: 13.72 kB / 0.6568 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002713/0.9634, allocations: 16.45 kB / 0.6568 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.9634, allocations: 12.5 kB / 0.6568 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.9635, allocations: 8.031 kB / 0.6568 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002323/0.9637, allocations: 276.3 kB / 0.6571 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9637, allocations: 0 / 0.6571 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004237/0.9641, allocations: 114 kB / 0.6572 GB, free: 12.48 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (senH_flow.h_out,senH.h_out) * 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 (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.0003814/0.9645, allocations: 175.8 kB / 0.6574 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004095/0.9649, allocations: 203 kB / 0.6576 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.965, allocations: 3 kB / 0.6576 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.9651, allocations: 78.84 kB / 0.6576 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008876/0.966, allocations: 170.8 kB / 0.6578 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.9671, allocations: 0.8539 MB / 0.6586 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.9675, allocations: 0.7932 MB / 0.6594 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002595/0.9677, allocations: 79.05 kB / 0.6595 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.23e-05/0.9678, allocations: 32.27 kB / 0.6595 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.9678, allocations: 0 / 0.6595 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.01066/0.9785, allocations: 6.313 MB / 0.6657 GB, free: 10.7 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)