Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 111 kB / 17.33 MB, free: 5.043 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.001779/0.001779, allocations: 201.9 kB / 18.33 MB, free: 4.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8671/0.8671, allocations: 128.4 MB / 426.1 MB, free: 7.246 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 71.92 kB / 0.5912 GB, free: 21.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1788, allocations: 83.25 MB / 0.6725 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6216/0.8004, allocations: 168.1 MB / 0.8366 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00841/0.8088, allocations: 6.586 MB / 0.8431 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00053/0.8093, allocations: 15.59 kB / 0.8431 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006282/0.81, allocations: 166.5 kB / 0.8432 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.8122, allocations: 0.8634 MB / 0.8441 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009767/0.8132, allocations: 338.9 kB / 0.8444 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008795/0.8141, allocations: 0.7178 MB / 0.8451 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004165/0.8145, allocations: 238.9 kB / 0.8453 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.8159, allocations: 0.7133 MB / 0.846 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004246/0.8163, allocations: 277.3 kB / 0.8463 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.8164, allocations: 22.91 kB / 0.8463 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006037/0.817, allocations: 349.6 kB / 0.8466 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.8171, allocations: 120.6 kB / 0.8468 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.8173, allocations: 161.6 kB / 0.8469 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006424/0.8179, allocations: 465.8 kB / 0.8474 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8179, allocations: 3.938 kB / 0.8474 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8179, allocations: 0 / 0.8474 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.8179, allocations: 0 / 0.8474 GB, free: 4.762 MB / 0.6075 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.0009497/0.8189, allocations: 0.6301 MB / 0.848 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.8189, allocations: 7.969 kB / 0.848 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003158/0.8192, allocations: 72.58 kB / 0.8481 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00054/0.8198, allocations: 314.7 kB / 0.8484 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.8198, allocations: 25.56 kB / 0.8484 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.8198, allocations: 25.38 kB / 0.8484 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005602/0.8204, allocations: 324.1 kB / 0.8487 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.8204, allocations: 0 / 0.8487 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.8204, allocations: 10.84 kB / 0.8487 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.8204, allocations: 7.844 kB / 0.8487 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004006/0.8208, allocations: 208.8 kB / 0.8489 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.8225, allocations: 1.527 MB / 0.8504 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.8228, allocations: 116.2 kB / 0.8505 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.823, allocations: 91.48 kB / 0.8506 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005802/0.8235, allocations: 298.3 kB / 0.8509 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.8236, allocations: 34.56 kB / 0.8509 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.8236, allocations: 0 / 0.8509 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.000704/0.8243, allocations: 279.8 kB / 0.8512 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.8243, allocations: 55.34 kB / 0.8513 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/0.8247, allocations: 315.1 kB / 0.8516 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.8247, allocations: 25.7 kB / 0.8516 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.8248, allocations: 189.6 kB / 0.8518 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.8249, allocations: 45.27 kB / 0.8518 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/0.8249, allocations: 40.83 kB / 0.8518 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002721/0.8252, allocations: 338 kB / 0.8522 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.8254, allocations: 58.92 kB / 0.8522 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.8256, allocations: 112.4 kB / 0.8523 GB, free: 460 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.8259, allocations: 175.7 kB / 0.8525 GB, free: 336 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8259, allocations: 0 / 0.8525 GB, free: 336 kB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003957/0.8263, allocations: 222.9 kB / 0.8527 GB, free: 208 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.8263, allocations: 4.875 kB / 0.8527 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.8263, allocations: 2.781 kB / 0.8527 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.8263, allocations: 0 / 0.8527 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.8265, allocations: 39.8 kB / 0.8528 GB, free: 196 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.8265, allocations: 6.094 kB / 0.8528 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.8267, allocations: 23.77 kB / 0.8528 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/0.8267, allocations: 11.47 kB / 0.8528 GB, free: 172 kB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001571/0.8269, allocations: 151.5 kB / 0.8529 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-05/0.8269, allocations: 28.88 kB / 0.853 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004598/0.8274, allocations: 215.5 kB / 0.8532 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.8274, allocations: 3.031 kB / 0.8532 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.8274, allocations: 0 / 0.8532 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.8274, allocations: 3.984 kB / 0.8532 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009992/0.8284, allocations: 0.6807 MB / 0.8538 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.8284, allocations: 3.812 kB / 0.8538 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.8285, allocations: 32.3 kB / 0.8539 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.8285, allocations: 2.094 kB / 0.8539 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.8285, allocations: 6.344 kB / 0.8539 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.8285, allocations: 2.844 kB / 0.8539 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8285, allocations: 2.969 kB / 0.8539 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004271/0.829, allocations: 339.9 kB / 0.8542 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.8291, allocations: 124.2 kB / 0.8543 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.8291, allocations: 7.875 kB / 0.8543 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.8293, allocations: 8.891 kB / 0.8544 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.8293, allocations: 13.11 kB / 0.8544 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.8294, allocations: 4.875 kB / 0.8544 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002217/0.8296, allocations: 228.9 kB / 0.8546 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.8296, allocations: 2 kB / 0.8546 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003963/0.83, allocations: 70.39 kB / 0.8547 GB, free: 14.7 MB / 0.6231 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 (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.0004237/0.8304, allocations: 171.9 kB / 0.8548 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003881/0.8308, allocations: 155.8 kB / 0.855 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.8308, allocations: 0 / 0.855 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.831, allocations: 85.17 kB / 0.855 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007706/0.8317, allocations: 151.1 kB / 0.8552 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008877/0.8326, allocations: 0.5377 MB / 0.8557 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.8331, allocations: 0.7855 MB / 0.8565 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001702/0.8332, allocations: 62.27 kB / 0.8565 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.282e-05/0.8333, allocations: 27.16 kB / 0.8566 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.8333, allocations: 0 / 0.8566 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of Templates: time 0.0103/0.8436, allocations: 5.195 MB / 0.8616 GB, free: 9.836 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 480]