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.0009871/0.0009871, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001045/0.001045, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.955/0.955, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.001734/0.001734, allocations: 245.6 kB / 261.3 MB, free: 12.65 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.73/0.73, allocations: 138.4 MB / 456.3 MB, free: 1.344 MB / 362.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.704e-06/1.704e-06, allocations: 0 / 0.5563 GB, free: 228 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.47e-05, allocations: 5.688 kB / 0.5563 GB, free: 224 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3262/0.3262, allocations: 128.7 MB / 0.682 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001148/0.3264, allocations: 48.91 kB / 0.682 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.5e-05/0.3264, allocations: 0 / 0.682 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.569e-05/0.3265, allocations: 3.938 kB / 0.682 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.53e-05/0.3265, allocations: 14.69 kB / 0.6821 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006802/0.3272, allocations: 264 kB / 0.6823 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.088e-05/0.3273, allocations: 39.16 kB / 0.6823 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.04e-05/0.3273, allocations: 3.984 kB / 0.6823 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.029e-05/0.3274, allocations: 22.67 kB / 0.6824 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.3274, allocations: 13.59 kB / 0.6824 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.3274, allocations: 2.906 kB / 0.6824 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002338/0.3277, allocations: 180.7 kB / 0.6826 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.18e-05/0.3277, allocations: 9.938 kB / 0.6826 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.686e-05/0.3277, allocations: 7.484 kB / 0.6826 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.328, allocations: 185 kB / 0.6828 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.328, allocations: 0 / 0.6828 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.42e-07/0.328, allocations: 0 / 0.6828 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.328, allocations: 3.031 kB / 0.6828 GB, free: 22.93 MB / 0.5105 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.0002627/0.3282, allocations: 387.8 kB / 0.6831 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.3283, allocations: 8.906 kB / 0.6831 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.3283, allocations: 5.078 kB / 0.6831 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.333e-05/0.3283, allocations: 107.6 kB / 0.6832 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.949e-05/0.3284, allocations: 54.91 kB / 0.6833 GB, free: 22.35 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.3284, allocations: 384 / 0.6833 GB, free: 22.35 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.051e-05/0.3285, allocations: 82.56 kB / 0.6834 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.3285, allocations: 3.938 kB / 0.6834 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.3285, allocations: 2.812 kB / 0.6834 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.3285, allocations: 0 / 0.6834 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.93e-05/0.3285, allocations: 13.2 kB / 0.6834 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.3289, allocations: 285.6 kB / 0.6837 GB, free: 21.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 2.794e-05/0.3289, allocations: 27.06 kB / 0.6837 GB, free: 21.94 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.025e-05/0.3289, allocations: 10.25 kB / 0.6837 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.329, allocations: 37.12 kB / 0.6837 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.329, allocations: 35.92 kB / 0.6838 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.329, allocations: 0 / 0.6838 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001115/0.3291, allocations: 34.8 kB / 0.6838 GB, free: 21.83 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/0.3291, allocations: 51.41 kB / 0.6838 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.512e-05/0.3292, allocations: 171.7 kB / 0.684 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.3292, allocations: 25.7 kB / 0.684 GB, free: 21.56 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.3292, allocations: 133.8 kB / 0.6842 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.087e-06/0.3292, allocations: 3.953 kB / 0.6842 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.3292, allocations: 24.7 kB / 0.6842 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.916e-05/0.3293, allocations: 0.4885 MB / 0.6847 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-06/0.3293, allocations: 2.312 kB / 0.6847 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.537e-05/0.3293, allocations: 26.25 kB / 0.6847 GB, free: 20.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.445e-05/0.3293, allocations: 29.17 kB / 0.6847 GB, free: 20.83 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3293, allocations: 0 / 0.6847 GB, free: 20.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.504e-05/0.3294, allocations: 44.77 kB / 0.6848 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.3294, allocations: 5.344 kB / 0.6848 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3294, allocations: 0 / 0.6848 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.3294, allocations: 6.25 kB / 0.6848 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.378e-05/0.3294, allocations: 10.08 kB / 0.6848 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.3294, allocations: 0 / 0.6848 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.333e-05/0.3295, allocations: 4 kB / 0.6848 GB, free: 20.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.3295, allocations: 2.656 kB / 0.6848 GB, free: 20.78 MB / 0.5105 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.866e-05/0.3295, allocations: 155.1 kB / 0.6849 GB, free: 20.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.3295, allocations: 3.938 kB / 0.6849 GB, free: 20.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.054e-05/0.3296, allocations: 167 kB / 0.6851 GB, free: 20.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/0.3296, allocations: 266.8 kB / 0.6854 GB, free: 20.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.247e-05/0.3296, allocations: 268.1 kB / 0.6856 GB, free: 19.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/0.3297, allocations: 275.2 kB / 0.6859 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.8e-05/0.3297, allocations: 483.4 kB / 0.6863 GB, free: 19.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/0.3298, allocations: 154.6 kB / 0.6865 GB, free: 18.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.403e-05/0.3298, allocations: 144.9 kB / 0.6866 GB, free: 18.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.399e-05/0.3298, allocations: 271 kB / 0.6869 GB, free: 18.56 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.3298, allocations: 272 kB / 0.6871 GB, free: 18.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.036e-05/0.3298, allocations: 272.1 kB / 0.6874 GB, free: 18.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.772e-05/0.3299, allocations: 270.4 kB / 0.6877 GB, free: 17.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.968e-05/0.3299, allocations: 445.8 kB / 0.6881 GB, free: 17.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.3299, allocations: 147.8 kB / 0.6882 GB, free: 17.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.33, allocations: 276 kB / 0.6885 GB, free: 16.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.33, allocations: 155.9 kB / 0.6886 GB, free: 16.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.3301, allocations: 274 kB / 0.6889 GB, free: 16.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.3301, allocations: 148.8 kB / 0.689 GB, free: 16.28 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.949e-05/0.3301, allocations: 129.5 kB / 0.6892 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3301, allocations: 0 / 0.6892 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001987/0.3303, allocations: 55.44 kB / 0.6892 GB, free: 16.14 MB / 0.5105 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.0001863/0.3305, allocations: 305.5 kB / 0.6895 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 4.745e-05/0.3305, allocations: 17.55 kB / 0.6895 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3305, allocations: 0 / 0.6895 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.3305, allocations: 0 / 0.6895 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.3307, allocations: 0.7134 MB / 0.6902 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.331, allocations: 232.4 kB / 0.6904 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.797e-05/0.331, allocations: 55.34 kB / 0.6905 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.121e-05/0.3311, allocations: 2.844 kB / 0.6905 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.3311, allocations: 84.89 kB / 0.6906 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/0.3311, allocations: 0 / 0.6906 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of Templates: time 0.002627/0.3337, allocations: 1.436 MB / 0.692 GB, free: 14.09 MB / 0.5105 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.009750138036907]