Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.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.001558/0.001558, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002559/0.002559, allocations: 154.8 kB / 23.01 MB, free: 4.949 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.348/1.348, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002326/0.002326, allocations: 234.2 kB / 260 MB, free: 436 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8791/0.8791, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002916/0.002916, allocations: 103.8 kB / 0.6473 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3748, allocations: 95.34 MB / 0.7404 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004143/0.3789, allocations: 3.906 MB / 0.7442 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001474/0.3791, allocations: 138.6 kB / 0.7444 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.3791, allocations: 0 / 0.7444 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 8.53e-05/0.3792, allocations: 3.219 kB / 0.7444 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.079e-05/0.3793, allocations: 11.88 kB / 0.7444 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.3796, allocations: 89.22 kB / 0.7445 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.549e-05/0.3796, allocations: 32.42 kB / 0.7445 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.3797, allocations: 2.672 kB / 0.7445 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.269e-05/0.3797, allocations: 24.59 kB / 0.7445 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.688e-05/0.3798, allocations: 11.84 kB / 0.7445 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.3798, allocations: 1.375 kB / 0.7445 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.38, allocations: 54.92 kB / 0.7446 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.172e-05/0.38, allocations: 8.719 kB / 0.7446 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.321e-05/0.38, allocations: 14.7 kB / 0.7446 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.3801, allocations: 56.7 kB / 0.7447 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3802, allocations: 1.375 kB / 0.7447 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.173e-06/0.3802, allocations: 3.938 kB / 0.7447 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.3802, allocations: 0 / 0.7447 GB, free: 14.5 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002907/0.3804, allocations: 264.6 kB / 0.7449 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.3805, allocations: 11.78 kB / 0.7449 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.3805, allocations: 6.25 kB / 0.745 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.411e-05/0.3806, allocations: 116.6 kB / 0.7451 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.663e-05/0.3806, allocations: 54 kB / 0.7451 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.3806, allocations: 1.75 kB / 0.7451 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.3808, allocations: 77.55 kB / 0.7452 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.3808, allocations: 0 / 0.7452 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3808, allocations: 1.375 kB / 0.7452 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.3808, allocations: 2.172 kB / 0.7452 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.035e-05/0.3808, allocations: 12.14 kB / 0.7452 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.3812, allocations: 205.2 kB / 0.7454 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.782e-05/0.3812, allocations: 25.92 kB / 0.7454 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.132e-05/0.3812, allocations: 8.859 kB / 0.7454 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.837e-05/0.3812, allocations: 12.89 kB / 0.7454 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.3813, allocations: 31.88 kB / 0.7455 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3813, allocations: 0 / 0.7455 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001204/0.3814, allocations: 38.08 kB / 0.7455 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.696e-05/0.3814, allocations: 51.41 kB / 0.7456 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.5e-05/0.3815, allocations: 102.7 kB / 0.7457 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.3815, allocations: 27.52 kB / 0.7457 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.3815, allocations: 89.36 kB / 0.7458 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-06/0.3815, allocations: 10.19 kB / 0.7458 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.3815, allocations: 14.39 kB / 0.7458 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.535e-05/0.3816, allocations: 317.5 kB / 0.7461 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.402e-05/0.3816, allocations: 7.922 kB / 0.7461 GB, free: 13 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.888e-05/0.3816, allocations: 14.69 kB / 0.7461 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.85e-05/0.3816, allocations: 25.33 kB / 0.7461 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3816, allocations: 1.125 kB / 0.7461 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.161e-05/0.3817, allocations: 45.05 kB / 0.7462 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.3817, allocations: 14.14 kB / 0.7462 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.3817, allocations: 0 / 0.7462 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3817, allocations: 1.312 kB / 0.7462 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.044e-05/0.3818, allocations: 9.297 kB / 0.7462 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.3818, allocations: 5.203 kB / 0.7462 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.739e-05/0.3818, allocations: 5.031 kB / 0.7462 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.3818, allocations: 1.844 kB / 0.7462 GB, free: 12.91 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 3.964e-05/0.3818, allocations: 113.8 kB / 0.7463 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.3818, allocations: 5.281 kB / 0.7463 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.602e-05/0.3819, allocations: 127 kB / 0.7465 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.096e-05/0.3819, allocations: 186.3 kB / 0.7466 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.298e-05/0.382, allocations: 178.1 kB / 0.7468 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.14e-05/0.382, allocations: 178.3 kB / 0.747 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.3821, allocations: 363.2 kB / 0.7473 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/0.3821, allocations: 103.1 kB / 0.7474 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.198e-05/0.3821, allocations: 106.3 kB / 0.7475 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.075e-05/0.3822, allocations: 179.3 kB / 0.7477 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.3822, allocations: 177 kB / 0.7479 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-05/0.3822, allocations: 183.6 kB / 0.748 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.125e-05/0.3822, allocations: 185.7 kB / 0.7482 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.169e-05/0.3823, allocations: 312.2 kB / 0.7485 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.3823, allocations: 110.5 kB / 0.7486 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.3823, allocations: 179.7 kB / 0.7488 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.3825, allocations: 105.8 kB / 0.7489 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.3825, allocations: 182.6 kB / 0.7491 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.3825, allocations: 103 kB / 0.7492 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.84e-05/0.3825, allocations: 86.52 kB / 0.7492 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3825, allocations: 0 / 0.7492 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002329/0.3828, allocations: 17.44 kB / 0.7493 GB, free: 9.699 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.000128/0.3829, allocations: 193.5 kB / 0.7494 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.442e-05/0.3829, allocations: 10.61 kB / 0.7495 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3829, allocations: 0 / 0.7495 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.383, allocations: 1.281 kB / 0.7495 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.3833, allocations: 468.8 kB / 0.7499 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002021/0.3835, allocations: 193 kB / 0.7501 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.81e-05/0.3835, allocations: 59.03 kB / 0.7501 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.571e-05/0.3835, allocations: 13.05 kB / 0.7502 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.552e-05/0.3836, allocations: 10.22 kB / 0.7502 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.3836, allocations: 0 / 0.7502 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of Templates: time 0.002816/0.3864, allocations: 0.6672 MB / 0.7508 GB, free: 8.672 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.417509343009442] Failed to read output from testmodel.py, exit status != 0: 0.3935276470147073 0.40341580200000005 0.020965234000000003 Calling exit ...