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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 76.05 kB / 20.51 MB, free: 1.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 164.9 kB / 23.77 MB, free: 4.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 177.2 MB / 204.1 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9107/0.9107, allocations: 113.9 MB / 374.5 MB, free: 12.87 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 66.7 kB / 0.555 GB, free: 2.703 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1728, allocations: 89.15 MB / 0.6421 GB, free: 9.508 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5744/0.7472, allocations: 147.8 MB / 0.7864 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007725/0.7549, allocations: 6.002 MB / 0.7923 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005463/0.7554, allocations: 16.25 kB / 0.7923 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006354/0.7561, allocations: 174.9 kB / 0.7925 GB, free: 6.656 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002467/0.7585, allocations: 0.8415 MB / 0.7933 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009728/0.7595, allocations: 336.8 kB / 0.7936 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0008677/0.7604, allocations: 0.726 MB / 0.7943 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003783/0.7607, allocations: 215.2 kB / 0.7945 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.7624, allocations: 0.7308 MB / 0.7952 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003989/0.7628, allocations: 261.8 kB / 0.7955 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.7628, allocations: 24 kB / 0.7955 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005767/0.7634, allocations: 289.4 kB / 0.7958 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.7635, allocations: 110.5 kB / 0.7959 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.7637, allocations: 129.8 kB / 0.796 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006106/0.7643, allocations: 480.4 kB / 0.7965 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.7643, allocations: 0 / 0.7965 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7643, allocations: 0 / 0.7965 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.7643, allocations: 0 / 0.7965 GB, free: 4.016 MB / 0.6387 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.0008386/0.7651, allocations: 0.5455 MB / 0.797 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.7652, allocations: 10.56 kB / 0.797 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003073/0.7655, allocations: 68.88 kB / 0.7971 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004884/0.7659, allocations: 256.2 kB / 0.7973 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.766, allocations: 19.38 kB / 0.7973 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.766, allocations: 27.88 kB / 0.7974 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005361/0.7665, allocations: 323.5 kB / 0.7977 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.7666, allocations: 3.938 kB / 0.7977 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.7666, allocations: 12 kB / 0.7977 GB, free: 3 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.7666, allocations: 4 kB / 0.7977 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004306/0.767, allocations: 209.7 kB / 0.7979 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.7684, allocations: 1.125 MB / 0.799 GB, free: 1.613 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.7687, allocations: 122.4 kB / 0.7991 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.7689, allocations: 87.8 kB / 0.7992 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004821/0.7694, allocations: 71.92 kB / 0.7993 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.7694, allocations: 30.56 kB / 0.7993 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.7694, allocations: 0 / 0.7993 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13): time 0.0007687/0.7702, allocations: 271.9 kB / 0.7996 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.7702, allocations: 51.66 kB / 0.7996 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.7704, allocations: 221.9 kB / 0.7998 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.7705, allocations: 33.64 kB / 0.7999 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.7706, allocations: 196.1 kB / 0.8 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.7706, allocations: 51.58 kB / 0.8001 GB, free: 460 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-05/0.7707, allocations: 33.7 kB / 0.8001 GB, free: 420 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.7709, allocations: 330.8 kB / 0.8004 GB, free: 80 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.771, allocations: 63.95 kB / 0.8005 GB, free: 16 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.7713, allocations: 186.2 kB / 0.8007 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.7716, allocations: 179.1 kB / 0.8008 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.7716, allocations: 7.938 kB / 0.8009 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004329/0.7721, allocations: 209.3 kB / 0.8011 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.7721, allocations: 5.406 kB / 0.8011 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.7721, allocations: 4 kB / 0.8011 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.7721, allocations: 0 / 0.8011 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.7723, allocations: 43.91 kB / 0.8011 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7723, allocations: 4.156 kB / 0.8011 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.7724, allocations: 15.94 kB / 0.8011 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.7725, allocations: 12 kB / 0.8011 GB, free: 15.3 MB / 0.6544 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.0001746/0.7727, allocations: 153.6 kB / 0.8013 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.7727, allocations: 23.86 kB / 0.8013 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004463/0.7731, allocations: 199.4 kB / 0.8015 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.7731, allocations: 4 kB / 0.8015 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.7732, allocations: 0 / 0.8015 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.7732, allocations: 8.984 kB / 0.8015 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.7742, allocations: 0.5934 MB / 0.8021 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.7742, allocations: 0 / 0.8021 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.7743, allocations: 27.97 kB / 0.8021 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.7743, allocations: 15.78 kB / 0.8021 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.7743, allocations: 4 kB / 0.8021 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.7743, allocations: 0 / 0.8021 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.7743, allocations: 14.45 kB / 0.8021 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000466/0.7748, allocations: 339.7 kB / 0.8025 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.607e-05/0.7749, allocations: 35.78 kB / 0.8025 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.7749, allocations: 8 kB / 0.8025 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.775, allocations: 4 kB / 0.8025 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.7751, allocations: 31.84 kB / 0.8025 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.7751, allocations: 4 kB / 0.8025 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001492/0.7753, allocations: 165.2 kB / 0.8027 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7753, allocations: 0 / 0.8027 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004045/0.7757, allocations: 79.78 kB / 0.8028 GB, free: 13.52 MB / 0.6544 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.0002744/0.7759, allocations: 143.1 kB / 0.8029 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003928/0.7763, allocations: 143.8 kB / 0.8031 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7763, allocations: 3.938 kB / 0.8031 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.7765, allocations: 76.52 kB / 0.8031 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000612/0.7771, allocations: 96.7 kB / 0.8032 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008838/0.778, allocations: 0.5406 MB / 0.8038 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.7782, allocations: 175.5 kB / 0.8039 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001436/0.7783, allocations: 48.78 kB / 0.804 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.584e-05/0.7784, allocations: 20.5 kB / 0.804 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of SimCode: time 6.02e-07/0.7784, allocations: 0 / 0.804 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.00845/0.7869, allocations: 3.668 MB / 0.8076 GB, free: 8.633 MB / 0.6544 GB " [Timeout remaining time 659] 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.182560640969314] Failed to read output from testmodel.py, exit status != 0: 0.7958836989710107 0.810062671 0.04260781 Calling exit ...