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.0007658/0.0007658, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0007214/0.0007214, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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 0.8223/0.8223, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 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.001247/0.001247, allocations: 226.2 kB / 260.2 MB, free: 13.02 MB / 250.7 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.6279/0.6279, allocations: 138.4 MB / 455.1 MB, free: 30.04 MB / 410.7 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 1.412e-06/1.412e-06, allocations: 0 / 0.6475 GB, free: 1.43 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.739e-05, allocations: 6.281 kB / 0.6475 GB, free: 1.422 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3546/0.3547, allocations: 119 MB / 0.7637 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001417/0.3548, allocations: 55.73 kB / 0.7638 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.682e-05/0.3548, allocations: 0 / 0.7638 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.355, allocations: 0 / 0.7638 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.082e-05/0.355, allocations: 23.78 kB / 0.7638 GB, free: 3.773 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008124/0.3559, allocations: 242.8 kB / 0.764 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.278e-05/0.3559, allocations: 35.84 kB / 0.7641 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.356, allocations: 4 kB / 0.7641 GB, free: 3.496 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.112e-05/0.356, allocations: 23.91 kB / 0.7641 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.746e-05/0.3561, allocations: 11.98 kB / 0.7641 GB, free: 3.461 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.3561, allocations: 0 / 0.7641 GB, free: 3.461 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002858/0.3564, allocations: 183.4 kB / 0.7643 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.3564, allocations: 4 kB / 0.7643 GB, free: 3.277 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.16e-05/0.3565, allocations: 12 kB / 0.7643 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003954/0.3569, allocations: 183.5 kB / 0.7645 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3569, allocations: 0 / 0.7645 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3569, allocations: 0 / 0.7645 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3569, allocations: 0 / 0.7645 GB, free: 3.086 MB / 0.5886 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.0003459/0.3572, allocations: 282.1 kB / 0.7647 GB, free: 2.781 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.3572, allocations: 13.94 kB / 0.7648 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.3573, allocations: 1.625 kB / 0.7648 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.48e-05/0.3574, allocations: 108.1 kB / 0.7649 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.968e-05/0.3574, allocations: 59.97 kB / 0.7649 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.3574, allocations: 4.375 kB / 0.7649 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.3576, allocations: 67.7 kB / 0.765 GB, free: 2.488 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.3576, allocations: 4 kB / 0.765 GB, free: 2.484 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.3576, allocations: 0 / 0.765 GB, free: 2.484 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.3576, allocations: 0 / 0.765 GB, free: 2.484 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.921e-05/0.3576, allocations: 24.56 kB / 0.765 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.3581, allocations: 244.5 kB / 0.7652 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.852e-05/0.3582, allocations: 26.55 kB / 0.7653 GB, free: 2.156 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.492e-05/0.3582, allocations: 12.86 kB / 0.7653 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.3582, allocations: 24.05 kB / 0.7653 GB, free: 2.117 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.3582, allocations: 34.56 kB / 0.7653 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.3582, allocations: 0 / 0.7653 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001207/0.3583, allocations: 39.31 kB / 0.7654 GB, free: 2.031 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.3584, allocations: 55.41 kB / 0.7654 GB, free: 1.965 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.192e-05/0.3584, allocations: 99.23 kB / 0.7655 GB, free: 1.859 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.3585, allocations: 29.69 kB / 0.7656 GB, free: 1.824 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.3585, allocations: 92.61 kB / 0.7656 GB, free: 1.73 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.97e-06/0.3585, allocations: 3.953 kB / 0.7656 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.3585, allocations: 17.84 kB / 0.7657 GB, free: 1.703 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.025e-05/0.3586, allocations: 314.8 kB / 0.766 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.3586, allocations: 7.984 kB / 0.766 GB, free: 1.379 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.621e-05/0.3586, allocations: 13.72 kB / 0.766 GB, free: 1.359 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.84e-05/0.3586, allocations: 22.59 kB / 0.766 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.3587, allocations: 7.938 kB / 0.766 GB, free: 1.324 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.932e-05/0.3587, allocations: 45.69 kB / 0.7661 GB, free: 1.273 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.3587, allocations: 4 kB / 0.7661 GB, free: 1.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3587, allocations: 8 kB / 0.7661 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.3587, allocations: 3.938 kB / 0.7661 GB, free: 1.258 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.513e-05/0.3588, allocations: 8 kB / 0.7661 GB, free: 1.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3588, allocations: 3.984 kB / 0.7661 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.273e-05/0.3588, allocations: 8.094 kB / 0.7661 GB, free: 1.242 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.3588, allocations: 4 kB / 0.7661 GB, free: 1.238 MB / 0.5886 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 5.523e-05/0.3588, allocations: 110.4 kB / 0.7662 GB, free: 1.121 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.3589, allocations: 4 kB / 0.7662 GB, free: 1.117 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.765e-05/0.3589, allocations: 117 kB / 0.7663 GB, free: 0.9961 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.085e-05/0.359, allocations: 188.2 kB / 0.7665 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.12e-05/0.359, allocations: 180.3 kB / 0.7667 GB, free: 0.6211 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.874e-05/0.3591, allocations: 184.2 kB / 0.7668 GB, free: 444 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.3592, allocations: 360.8 kB / 0.7672 GB, free: 44 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.383e-05/0.3592, allocations: 104.9 kB / 0.7673 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.318e-05/0.3593, allocations: 104.9 kB / 0.7674 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.823e-05/0.3593, allocations: 176.3 kB / 0.7676 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/0.3593, allocations: 184.2 kB / 0.7677 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.151e-05/0.3594, allocations: 184.2 kB / 0.7679 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.692e-05/0.3594, allocations: 176.3 kB / 0.7681 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.61e-05/0.3595, allocations: 303.8 kB / 0.7684 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.3595, allocations: 116.8 kB / 0.7685 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.136e-05/0.3596, allocations: 185.4 kB / 0.7687 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.665e-05/0.3597, allocations: 105.2 kB / 0.7688 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.3597, allocations: 180.2 kB / 0.7689 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.3597, allocations: 109 kB / 0.769 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.401e-05/0.3598, allocations: 87.28 kB / 0.7691 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.3598, allocations: 0 / 0.7691 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001902/0.36, allocations: 56.77 kB / 0.7692 GB, free: 13.91 MB / 0.6042 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.0002441/0.3602, allocations: 272.7 kB / 0.7694 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.585e-05/0.3603, allocations: 7.938 kB / 0.7694 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3603, allocations: 3.938 kB / 0.7694 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.02e-07/0.3603, allocations: 0 / 0.7694 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.3605, allocations: 465.5 kB / 0.7699 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002184/0.3608, allocations: 208.2 kB / 0.7701 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.222e-05/0.3608, allocations: 59.34 kB / 0.7701 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.808e-05/0.3608, allocations: 14.84 kB / 0.7701 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/0.3608, allocations: 0 / 0.7701 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.002135/0.3629, allocations: 1.265 MB / 0.7714 GB, free: 11.62 MB / 0.6042 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: 5.421994352713227] Failed to read output from testmodel.py, exit status != 0: 0.3684467989951372 0.375962098 0.017534624000000002 Calling exit ...