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.0009764/0.0009767, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.008096/0.008096, allocations: 172.4 kB / 16.26 MB, free: 6.676 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.729/1.729, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.6201/0.6201, allocations: 95.62 MB / 366.4 MB, free: 10.25 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.0008691/0.0008694, allocations: 24.59 kB / 447.5 MB, free: 8.977 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3899, allocations: 70.32 MB / 0.5057 GB, free: 16.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5977/0.9877, allocations: 142 MB / 0.6444 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004663/0.9924, allocations: 2.852 MB / 0.6471 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006637/0.9931, allocations: 16.47 kB / 0.6472 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006756/0.9938, allocations: 161.8 kB / 0.6473 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007965/0.9946, allocations: 356.5 kB / 0.6477 GB, free: 0.582 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.9959, allocations: 456.3 kB / 0.6481 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001989/0.9979, allocations: 1.31 MB / 0.6494 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000573/0.9985, allocations: 273.8 kB / 0.6496 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009002/0.9994, allocations: 354.3 kB / 0.65 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007215/1, allocations: 347.7 kB / 0.6503 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.789e-05/1, allocations: 17.03 kB / 0.6503 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006437/1.001, allocations: 166.8 kB / 0.6505 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/1.001, allocations: 88.66 kB / 0.6506 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003684/1.001, allocations: 231.6 kB / 0.6508 GB, free: 16.49 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005536/1.002, allocations: 0.5382 MB / 0.6513 GB, free: 16.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.002, allocations: 1.969 kB / 0.6513 GB, free: 16.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.545e-06/1.002, allocations: 3.531 kB / 0.6513 GB, free: 16.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.833e-06/1.002, allocations: 4 kB / 0.6513 GB, free: 16.45 MB / 0.4981 GB 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.001087/1.003, allocations: 0.6411 MB / 0.6519 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/1.003, allocations: 13.42 kB / 0.652 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000287/1.003, allocations: 61.75 kB / 0.652 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/1.004, allocations: 352.5 kB / 0.6523 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.251e-05/1.004, allocations: 55.39 kB / 0.6524 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.858e-05/1.004, allocations: 31.47 kB / 0.6524 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006671/1.005, allocations: 375.2 kB / 0.6528 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/1.005, allocations: 0.5312 kB / 0.6528 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.752e-05/1.005, allocations: 14.28 kB / 0.6528 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/1.005, allocations: 7.156 kB / 0.6528 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006128/1.005, allocations: 260.2 kB / 0.6531 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/1.008, allocations: 1.433 MB / 0.6545 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/1.008, allocations: 154.8 kB / 0.6546 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/1.008, allocations: 79.23 kB / 0.6547 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000322/1.008, allocations: 134.9 kB / 0.6548 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/1.008, allocations: 38.73 kB / 0.6548 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.552e-06/1.008, allocations: 0 / 0.6548 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0005831/1.009, allocations: 282 kB / 0.6551 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/1.009, allocations: 105.7 kB / 0.6552 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/1.01, allocations: 403.9 kB / 0.6556 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/1.01, allocations: 29.58 kB / 0.6556 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/1.01, allocations: 232.5 kB / 0.6558 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/1.01, allocations: 56.12 kB / 0.6559 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/1.01, allocations: 29.47 kB / 0.6559 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.01, allocations: 347 kB / 0.6563 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/1.01, allocations: 80.39 kB / 0.6563 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/1.01, allocations: 199.3 kB / 0.6565 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/1.011, allocations: 284.1 kB / 0.6568 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.011, allocations: 4 kB / 0.6568 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005304/1.011, allocations: 333.2 kB / 0.6571 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/1.011, allocations: 8.125 kB / 0.6571 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/1.011, allocations: 3.594 kB / 0.6571 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/1.011, allocations: 6.984 kB / 0.6571 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/1.012, allocations: 61.88 kB / 0.6572 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/1.012, allocations: 2.562 kB / 0.6572 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/1.012, allocations: 56.86 kB / 0.6573 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/1.012, allocations: 13.16 kB / 0.6573 GB, free: 13.36 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.0001627/1.012, allocations: 161.3 kB / 0.6574 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.237e-05/1.012, allocations: 39.5 kB / 0.6575 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004397/1.013, allocations: 236.4 kB / 0.6577 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.013, allocations: 2.688 kB / 0.6577 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/1.013, allocations: 0 / 0.6577 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.013, allocations: 0 / 0.6577 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008168/1.013, allocations: 0.6398 MB / 0.6583 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.014, allocations: 0 / 0.6583 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/1.014, allocations: 32.16 kB / 0.6583 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/1.014, allocations: 2.906 kB / 0.6583 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/1.014, allocations: 4.594 kB / 0.6583 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.014, allocations: 0 / 0.6583 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.014, allocations: 7.656 kB / 0.6584 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006504/1.014, allocations: 430.7 kB / 0.6588 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.596e-05/1.014, allocations: 115.6 kB / 0.6589 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.855e-05/1.015, allocations: 6.359 kB / 0.6589 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/1.015, allocations: 21.53 kB / 0.6589 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/1.015, allocations: 15.31 kB / 0.6589 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/1.015, allocations: 13.03 kB / 0.6589 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002689/1.015, allocations: 281.7 kB / 0.6592 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.142e-06/1.015, allocations: 0 / 0.6592 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004314/1.016, allocations: 104.7 kB / 0.6593 GB, free: 12.45 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.0004516/1.016, allocations: 179.7 kB / 0.6595 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004361/1.017, allocations: 204.1 kB / 0.6597 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/1.017, allocations: 4.062 kB / 0.6597 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/1.017, allocations: 87.83 kB / 0.6598 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009534/1.018, allocations: 179 kB / 0.6599 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/1.019, allocations: 0.9115 MB / 0.6608 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/1.02, allocations: 0.8003 MB / 0.6616 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002584/1.02, allocations: 71.62 kB / 0.6617 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.582e-05/1.02, allocations: 30 kB / 0.6617 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/1.02, allocations: 4 kB / 0.6617 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of Templates: time 0.01144/1.031, allocations: 6.274 MB / 0.6678 GB, free: 10.67 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: