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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 109.8 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 191.7 kB / 22.85 MB, free: 5.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002485/0.002485, allocations: 286.7 kB / 307 MB, free: 8.367 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.219/1.219, allocations: 180.8 MB / 0.5304 GB, free: 14.59 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002746/0.002746, allocations: 98.19 kB / 0.7311 GB, free: 39.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1931, allocations: 94.22 MB / 0.8231 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1612/0.3543, allocations: 133.9 MB / 0.9539 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0002164/0.3545, allocations: 59.84 kB / 0.9539 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.773e-05/0.3545, allocations: 0 / 0.9539 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.3546, allocations: 7.922 kB / 0.9539 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 7.989e-05/0.3547, allocations: 11.94 kB / 0.9539 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008511/0.3556, allocations: 254.4 kB / 0.9542 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 8.488e-05/0.3557, allocations: 31.91 kB / 0.9542 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.943e-05/0.3557, allocations: 8 kB / 0.9542 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 3.642e-05/0.3557, allocations: 15.88 kB / 0.9542 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 7.52e-05/0.3558, allocations: 19.97 kB / 0.9543 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.3558, allocations: 0 / 0.9543 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003806/0.3562, allocations: 175.5 kB / 0.9544 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.233e-05/0.3562, allocations: 4 kB / 0.9544 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.3563, allocations: 19.92 kB / 0.9544 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.3566, allocations: 163.6 kB / 0.9546 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3566, allocations: 0 / 0.9546 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3566, allocations: 0 / 0.9546 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.3566, allocations: 3.938 kB / 0.9546 GB, free: 10.66 MB / 0.7012 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.0004322/0.357, allocations: 286 kB / 0.9549 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.3571, allocations: 8.031 kB / 0.9549 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.3571, allocations: 8.938 kB / 0.9549 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.3573, allocations: 110.5 kB / 0.955 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-05/0.3573, allocations: 38.27 kB / 0.955 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.3574, allocations: 3.938 kB / 0.955 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.3575, allocations: 67.33 kB / 0.9551 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.3575, allocations: 0 / 0.9551 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.3575, allocations: 3.984 kB / 0.9551 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.3575, allocations: 4 kB / 0.9551 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.378e-05/0.3576, allocations: 12 kB / 0.9551 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006385/0.3582, allocations: 279.9 kB / 0.9554 GB, free: 9.742 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 5.154e-05/0.3583, allocations: 18.58 kB / 0.9554 GB, free: 9.715 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.3583, allocations: 8.922 kB / 0.9554 GB, free: 9.703 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.459e-05/0.3584, allocations: 27.97 kB / 0.9554 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.3584, allocations: 30.56 kB / 0.9555 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3584, allocations: 0 / 0.9555 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1): time 0.0001469/0.3585, allocations: 45.59 kB / 0.9555 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.3586, allocations: 55.41 kB / 0.9556 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.792e-05/0.3587, allocations: 101.8 kB / 0.9557 GB, free: 9.41 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3587, allocations: 25.7 kB / 0.9557 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.3588, allocations: 88.09 kB / 0.9558 GB, free: 9.289 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.272e-06/0.3588, allocations: 3.938 kB / 0.9558 GB, free: 9.285 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.3588, allocations: 17.7 kB / 0.9558 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3589, allocations: 318.8 kB / 0.9561 GB, free: 8.941 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.581e-05/0.3589, allocations: 12.06 kB / 0.9561 GB, free: 8.93 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.627e-05/0.359, allocations: 17.7 kB / 0.9561 GB, free: 8.906 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.845e-05/0.359, allocations: 21.66 kB / 0.9562 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.359, allocations: 0 / 0.9562 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.978e-05/0.3591, allocations: 45.69 kB / 0.9562 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.3591, allocations: 9.719 kB / 0.9562 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.3591, allocations: 4.062 kB / 0.9562 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.3591, allocations: 0 / 0.9562 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.021e-05/0.3592, allocations: 4 kB / 0.9562 GB, free: 8.812 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.3592, allocations: 7.938 kB / 0.9562 GB, free: 8.805 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.916e-05/0.3592, allocations: 3.953 kB / 0.9562 GB, free: 8.801 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.3592, allocations: 3.938 kB / 0.9562 GB, free: 8.797 MB / 0.7012 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.897e-05/0.3593, allocations: 114.5 kB / 0.9563 GB, free: 8.676 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.3593, allocations: 0 / 0.9563 GB, free: 8.676 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.3594, allocations: 121 kB / 0.9565 GB, free: 8.551 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.473e-05/0.3595, allocations: 180.2 kB / 0.9566 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.007e-05/0.3596, allocations: 180.2 kB / 0.9568 GB, free: 8.184 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-05/0.3597, allocations: 180.5 kB / 0.957 GB, free: 8 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.3599, allocations: 384.2 kB / 0.9573 GB, free: 7.574 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-05/0.36, allocations: 105 kB / 0.9574 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.319e-05/0.36, allocations: 104.9 kB / 0.9575 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-05/0.3601, allocations: 184.2 kB / 0.9577 GB, free: 7.168 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.3602, allocations: 184.3 kB / 0.9579 GB, free: 6.98 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001089/0.3603, allocations: 188.1 kB / 0.9581 GB, free: 6.789 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.031e-05/0.3604, allocations: 180.3 kB / 0.9582 GB, free: 6.605 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.3606, allocations: 315.9 kB / 0.9585 GB, free: 6.273 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.3607, allocations: 112.9 kB / 0.9586 GB, free: 6.156 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.949e-05/0.3608, allocations: 176.3 kB / 0.9588 GB, free: 5.977 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.361, allocations: 105 kB / 0.9589 GB, free: 5.867 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.049e-05/0.3611, allocations: 184.2 kB / 0.9591 GB, free: 5.68 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/0.3612, allocations: 109 kB / 0.9592 GB, free: 5.566 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 5.326e-05/0.3612, allocations: 83.22 kB / 0.9593 GB, free: 5.484 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.3612, allocations: 0 / 0.9593 GB, free: 5.484 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003276/0.3615, allocations: 63.73 kB / 0.9593 GB, free: 5.422 MB / 0.7012 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.0003395/0.3619, allocations: 254.2 kB / 0.9596 GB, free: 5.16 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 7.223e-05/0.362, allocations: 15.92 kB / 0.9596 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.362, allocations: 0 / 0.9596 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.362, allocations: 0 / 0.9596 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.3624, allocations: 459.8 kB / 0.96 GB, free: 4.691 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002698/0.3627, allocations: 194.1 kB / 0.9602 GB, free: 4.477 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.363, allocations: 0.6768 MB / 0.9609 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 4.642e-05/0.363, allocations: 11.94 kB / 0.9609 GB, free: 3.762 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.738e-05/0.363, allocations: 7.438 kB / 0.9609 GB, free: 3.754 MB / 0.7012 GB Notification: Performance of SimCode: time 3.31e-07/0.363, allocations: 0 / 0.9609 GB, free: 3.754 MB / 0.7012 GB Notification: Performance of Templates: time 0.004117/0.3672, allocations: 1.299 MB / 0.9622 GB, free: 2.457 MB / 0.7012 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.121093248017132] Failed to read output from testmodel.py, exit status != 0: 0.37448321911506355 0.38993117400000005 0.030049069 Calling exit ...