Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.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: 110.1 kB / 19.7 MB, free: 2.262 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.001549/0.001549, allocations: 211.1 kB / 23 MB, free: 5.113 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.396/1.396, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.002715/0.002715, allocations: 286.8 kB / 313.5 MB, free: 2.82 MB / 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 1.183/1.183, allocations: 180.6 MB / 0.5377 GB, free: 12.91 MB / 382.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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") [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.002811/0.002811, allocations: 95.12 kB / 0.7408 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1659, allocations: 95.38 MB / 0.8339 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1645/0.3303, allocations: 138.7 MB / 0.9694 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001687/0.3305, allocations: 55.8 kB / 0.9694 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.489e-05/0.3305, allocations: 4 kB / 0.9694 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.3306, allocations: 3.938 kB / 0.9694 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.695e-05/0.3307, allocations: 11.91 kB / 0.9694 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008424/0.3315, allocations: 251 kB / 0.9697 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.243e-05/0.3316, allocations: 31.84 kB / 0.9697 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.3317, allocations: 4 kB / 0.9697 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.573e-05/0.3317, allocations: 19.97 kB / 0.9697 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.77e-05/0.3318, allocations: 7.938 kB / 0.9697 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.3318, allocations: 8 kB / 0.9697 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000504/0.3323, allocations: 263.4 kB / 0.97 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.779e-05/0.3323, allocations: 7.984 kB / 0.97 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.3324, allocations: 11.94 kB / 0.97 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.3327, allocations: 183.5 kB / 0.9702 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3327, allocations: 4 kB / 0.9702 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3327, allocations: 0 / 0.9702 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.3327, allocations: 0 / 0.9702 GB, free: 12.1 MB / 0.7169 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.0004043/0.3331, allocations: 286.1 kB / 0.9705 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.3331, allocations: 13.34 kB / 0.9705 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.3332, allocations: 0.9375 kB / 0.9705 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.3333, allocations: 110.5 kB / 0.9706 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.419e-05/0.3334, allocations: 51.97 kB / 0.9706 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.3334, allocations: 3.938 kB / 0.9706 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.3335, allocations: 49.62 kB / 0.9707 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3335, allocations: 0 / 0.9707 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.3335, allocations: 0 / 0.9707 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.3335, allocations: 0 / 0.9707 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.592e-05/0.3336, allocations: 23.92 kB / 0.9707 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006163/0.3342, allocations: 275.9 kB / 0.971 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.3343, allocations: 18.58 kB / 0.971 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.374e-05/0.3343, allocations: 4.859 kB / 0.971 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-05/0.3344, allocations: 32.03 kB / 0.971 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.3344, allocations: 34.56 kB / 0.9711 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3344, allocations: 0 / 0.9711 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001349/0.3345, allocations: 37.64 kB / 0.9711 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.3346, allocations: 51.41 kB / 0.9711 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.094e-05/0.3347, allocations: 105.8 kB / 0.9712 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.3347, allocations: 25.7 kB / 0.9713 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.018e-05/0.3347, allocations: 84.09 kB / 0.9713 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.929e-06/0.3347, allocations: 12.02 kB / 0.9714 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/0.3348, allocations: 21.7 kB / 0.9714 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3349, allocations: 314.8 kB / 0.9717 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.3349, allocations: 4 kB / 0.9717 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.591e-05/0.335, allocations: 17.72 kB / 0.9717 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.813e-05/0.335, allocations: 29.64 kB / 0.9717 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.335, allocations: 4 kB / 0.9717 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.372e-05/0.3351, allocations: 41.64 kB / 0.9718 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.3351, allocations: 7.984 kB / 0.9718 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3351, allocations: 4 kB / 0.9718 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.3351, allocations: 0 / 0.9718 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.016e-05/0.3351, allocations: 4 kB / 0.9718 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.3351, allocations: 0 / 0.9718 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.883e-05/0.3352, allocations: 4 kB / 0.9718 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.3352, allocations: 11.88 kB / 0.9718 GB, free: 10.24 MB / 0.7169 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 7.888e-05/0.3352, allocations: 110.6 kB / 0.9719 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.3353, allocations: 4 kB / 0.9719 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.3354, allocations: 125.1 kB / 0.972 GB, free: 9.992 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.576e-05/0.3355, allocations: 180.3 kB / 0.9722 GB, free: 9.809 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.551e-05/0.3355, allocations: 176.3 kB / 0.9724 GB, free: 9.629 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.114e-05/0.3356, allocations: 188.2 kB / 0.9725 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.3359, allocations: 380.2 kB / 0.9729 GB, free: 9.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.713e-05/0.3359, allocations: 108.9 kB / 0.973 GB, free: 8.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.534e-05/0.336, allocations: 109 kB / 0.9731 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001226/0.3361, allocations: 176.3 kB / 0.9733 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.399e-05/0.3362, allocations: 180.2 kB / 0.9735 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-05/0.3363, allocations: 184.3 kB / 0.9736 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.069e-05/0.3363, allocations: 188.4 kB / 0.9738 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.3365, allocations: 311.7 kB / 0.9741 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.3365, allocations: 104.9 kB / 0.9742 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.3367, allocations: 188.3 kB / 0.9744 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.3368, allocations: 108.9 kB / 0.9745 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.541e-05/0.3369, allocations: 176.3 kB / 0.9747 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.3369, allocations: 105 kB / 0.9748 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.43e-05/0.337, allocations: 95.14 kB / 0.9749 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.337, allocations: 0 / 0.9749 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003423/0.3373, allocations: 51.75 kB / 0.9749 GB, free: 6.871 MB / 0.7169 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.0003669/0.3377, allocations: 258.2 kB / 0.9751 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.141e-05/0.3378, allocations: 7.984 kB / 0.9752 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.3378, allocations: 8.125 kB / 0.9752 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-06/0.3378, allocations: 0 / 0.9752 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.3382, allocations: 462.1 kB / 0.9756 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.3385, allocations: 203.8 kB / 0.9758 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.3388, allocations: 0.6768 MB / 0.9765 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.3388, allocations: 11.44 kB / 0.9765 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.3388, allocations: 3.938 kB / 0.9765 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of Templates: time 0.002996/0.3418, allocations: 1.249 MB / 0.9777 GB, free: 3.945 MB / 0.7169 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.625875517958775] Failed to read output from testmodel.py, exit status != 0: 0.3489749659784138 0.660676884 0.32561429599999997 Calling exit ...