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.001333/0.001333, allocations: 80.3 kB / 19.18 MB, free: 2.52 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.001397/0.001397, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.445/1.445, allocations: 177.2 MB / 202.8 MB, free: 9.148 MB / 190.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.002503/0.002503, allocations: 241.5 kB / 259.4 MB, free: 452 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 1.143/1.143, allocations: 138.4 MB / 454.3 MB, free: 2.039 MB / 366.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: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 0.6468 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.14e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4286/0.4287, allocations: 119 MB / 0.763 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.000176/0.4288, allocations: 54.25 kB / 0.7631 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.4289, allocations: 0 / 0.7631 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.429, allocations: 3.938 kB / 0.7631 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.846e-05/0.4291, allocations: 22.72 kB / 0.7631 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009334/0.43, allocations: 247.2 kB / 0.7633 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.51e-05/0.4301, allocations: 32.39 kB / 0.7633 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.4301, allocations: 1.75 kB / 0.7633 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.645e-05/0.4302, allocations: 26.31 kB / 0.7634 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.458e-05/0.4303, allocations: 10.64 kB / 0.7634 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.4303, allocations: 1.344 kB / 0.7634 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004346/0.4307, allocations: 184.8 kB / 0.7636 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.4308, allocations: 2.312 kB / 0.7636 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.4308, allocations: 9.266 kB / 0.7636 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004547/0.4313, allocations: 183.9 kB / 0.7637 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4313, allocations: 0 / 0.7637 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4313, allocations: 1.312 kB / 0.7637 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.4313, allocations: 0 / 0.7637 GB, free: 8.406 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.0004738/0.4317, allocations: 290.3 kB / 0.764 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.4318, allocations: 10.38 kB / 0.764 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.4318, allocations: 3.125 kB / 0.764 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.4319, allocations: 104.4 kB / 0.7641 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.503e-05/0.432, allocations: 52.94 kB / 0.7642 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.432, allocations: 2.844 kB / 0.7642 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.4322, allocations: 69.55 kB / 0.7643 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4322, allocations: 3.938 kB / 0.7643 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.4322, allocations: 5.172 kB / 0.7643 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.4323, allocations: 1.25 kB / 0.7643 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.829e-05/0.4323, allocations: 17.5 kB / 0.7643 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000669/0.433, allocations: 255.8 kB / 0.7645 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.265e-05/0.433, allocations: 20.27 kB / 0.7645 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.433, allocations: 6.484 kB / 0.7646 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.536e-05/0.4331, allocations: 25.92 kB / 0.7646 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.4332, allocations: 34.56 kB / 0.7646 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.4332, allocations: 0 / 0.7646 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001578/0.4333, allocations: 39.97 kB / 0.7646 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.4334, allocations: 57.19 kB / 0.7647 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.953e-05/0.4335, allocations: 111.8 kB / 0.7648 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.4335, allocations: 25.7 kB / 0.7648 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.4335, allocations: 93.27 kB / 0.7649 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.103e-06/0.4335, allocations: 4.984 kB / 0.7649 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.4336, allocations: 18.16 kB / 0.7649 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4337, allocations: 316.7 kB / 0.7652 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.4338, allocations: 1.25 kB / 0.7652 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-05/0.4338, allocations: 17.84 kB / 0.7653 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.483e-05/0.4338, allocations: 28.38 kB / 0.7653 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4338, allocations: 1.25 kB / 0.7653 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.223e-05/0.4339, allocations: 54.81 kB / 0.7653 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.4339, allocations: 4.406 kB / 0.7653 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.4339, allocations: 1.219 kB / 0.7654 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.4339, allocations: 1.312 kB / 0.7654 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.84e-05/0.434, allocations: 8.016 kB / 0.7654 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.434, allocations: 1.312 kB / 0.7654 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.105e-05/0.434, allocations: 1.125 kB / 0.7654 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.434, allocations: 5.375 kB / 0.7654 GB, free: 6.734 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 8.742e-05/0.4341, allocations: 112.1 kB / 0.7655 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.4342, allocations: 5.094 kB / 0.7655 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.4343, allocations: 125.7 kB / 0.7656 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.009e-05/0.4344, allocations: 178.3 kB / 0.7658 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.219e-05/0.4345, allocations: 181.1 kB / 0.7659 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.236e-05/0.4346, allocations: 181.4 kB / 0.7661 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.4348, allocations: 358.1 kB / 0.7665 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.556e-05/0.4349, allocations: 110 kB / 0.7666 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.03e-05/0.4349, allocations: 114 kB / 0.7667 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.823e-05/0.435, allocations: 177.6 kB / 0.7668 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/0.4351, allocations: 187.6 kB / 0.767 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001836/0.4353, allocations: 177.5 kB / 0.7672 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.819e-05/0.4354, allocations: 182.5 kB / 0.7674 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.4356, allocations: 301 kB / 0.7676 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.4357, allocations: 114.9 kB / 0.7678 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.4358, allocations: 178.7 kB / 0.7679 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.436, allocations: 107.2 kB / 0.768 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/0.4361, allocations: 181.5 kB / 0.7682 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-05/0.4361, allocations: 106.3 kB / 0.7683 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.595e-05/0.4362, allocations: 85 kB / 0.7684 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4362, allocations: 0 / 0.7684 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003785/0.4366, allocations: 65.77 kB / 0.7684 GB, free: 3.48 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.0004003/0.437, allocations: 255.5 kB / 0.7687 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.373e-05/0.437, allocations: 14.06 kB / 0.7687 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.437, allocations: 0 / 0.7687 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.437, allocations: 1.375 kB / 0.7687 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.4375, allocations: 458.9 kB / 0.7691 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.4378, allocations: 183.2 kB / 0.7693 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.353e-05/0.4379, allocations: 60.81 kB / 0.7694 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.638e-05/0.4379, allocations: 9.891 kB / 0.7694 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.438, allocations: 9.781 kB / 0.7694 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.438, allocations: 0 / 0.7694 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of Templates: time 0.004725/0.4427, allocations: 1.349 MB / 0.7707 GB, free: 1.34 MB / 0.5919 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: 6.101092033088207] Failed to read output from testmodel.py, exit status != 0: 0.45338303968310356 0.46798718699999997 0.033402742 Calling exit ...