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.001542/0.001542, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00168/0.00168, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.375/1.375, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.002511/0.002511, allocations: 286.7 kB / 313.5 MB, free: 2.617 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.175/1.175, allocations: 180.6 MB / 0.5377 GB, free: 14.57 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.002908/0.002908, allocations: 110 kB / 0.7407 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1582, allocations: 95.38 MB / 0.8338 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1509/0.3091, allocations: 119 MB / 0.95 GB, free: 400 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.000168/0.3093, allocations: 59.86 kB / 0.9501 GB, free: 340 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/0.3093, allocations: 0 / 0.9501 GB, free: 340 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.3094, allocations: 3.938 kB / 0.9501 GB, free: 336 kB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 7.029e-05/0.3095, allocations: 15.91 kB / 0.9501 GB, free: 320 kB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008545/0.3103, allocations: 249.1 kB / 0.9504 GB, free: 72 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 7.604e-05/0.3104, allocations: 23.92 kB / 0.9504 GB, free: 48 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.034e-05/0.3104, allocations: 7.984 kB / 0.9504 GB, free: 40 kB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.951e-05/0.3105, allocations: 19.92 kB / 0.9504 GB, free: 20 kB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 6.832e-05/0.3105, allocations: 15.81 kB / 0.9504 GB, free: 8 kB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.3105, allocations: 0 / 0.9504 GB, free: 8 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000423/0.311, allocations: 175.5 kB / 0.9506 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.242e-05/0.311, allocations: 7.984 kB / 0.9506 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.303e-05/0.311, allocations: 15.92 kB / 0.9506 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0003417/0.3114, allocations: 171.6 kB / 0.9508 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3114, allocations: 0 / 0.9508 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3114, allocations: 0 / 0.9508 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.3114, allocations: 0 / 0.9508 GB, free: 15.64 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.0004262/0.3118, allocations: 286 kB / 0.9511 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3118, allocations: 9.938 kB / 0.9511 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.3119, allocations: 4.938 kB / 0.9511 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.312, allocations: 102.5 kB / 0.9512 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.542e-05/0.3121, allocations: 55.97 kB / 0.9512 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.3121, allocations: 7.938 kB / 0.9512 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.3122, allocations: 67.39 kB / 0.9513 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3122, allocations: 0 / 0.9513 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3122, allocations: 4 kB / 0.9513 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.3123, allocations: 0 / 0.9513 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.745e-05/0.3123, allocations: 15.92 kB / 0.9513 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006252/0.3129, allocations: 260.4 kB / 0.9516 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 5.235e-05/0.313, allocations: 26.55 kB / 0.9516 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.495e-05/0.313, allocations: 4.859 kB / 0.9516 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.172e-05/0.3131, allocations: 36.03 kB / 0.9516 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.3131, allocations: 34.56 kB / 0.9517 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.3131, allocations: 0 / 0.9517 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1): time 0.0001405/0.3132, allocations: 37.62 kB / 0.9517 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.3133, allocations: 51.41 kB / 0.9517 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.887e-05/0.3134, allocations: 101.9 kB / 0.9518 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.3134, allocations: 25.7 kB / 0.9519 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/0.3135, allocations: 92.02 kB / 0.9519 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.262e-06/0.3135, allocations: 7.953 kB / 0.952 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.3135, allocations: 17.84 kB / 0.952 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3136, allocations: 318.8 kB / 0.9523 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.3137, allocations: 7.984 kB / 0.9523 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.79e-05/0.3137, allocations: 17.72 kB / 0.9523 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.369e-05/0.3137, allocations: 17.66 kB / 0.9523 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3137, allocations: 4 kB / 0.9523 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.709e-05/0.3138, allocations: 45.69 kB / 0.9524 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.3138, allocations: 7.938 kB / 0.9524 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.3138, allocations: 0 / 0.9524 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3138, allocations: 8 kB / 0.9524 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.277e-05/0.3139, allocations: 8 kB / 0.9524 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.3139, allocations: 7.984 kB / 0.9524 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.679e-05/0.3139, allocations: 0 / 0.9524 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.3139, allocations: 4 kB / 0.9524 GB, free: 13.79 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 8.05e-05/0.314, allocations: 114.4 kB / 0.9525 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.314, allocations: 4 kB / 0.9525 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.3141, allocations: 116.9 kB / 0.9526 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-05/0.3142, allocations: 188.2 kB / 0.9528 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.958e-05/0.3143, allocations: 180.3 kB / 0.953 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-05/0.3144, allocations: 184.2 kB / 0.9531 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.3146, allocations: 364.8 kB / 0.9535 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.536e-05/0.3147, allocations: 104.9 kB / 0.9536 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.374e-05/0.3147, allocations: 105 kB / 0.9537 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.441e-05/0.3148, allocations: 176.3 kB / 0.9539 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.245e-05/0.3149, allocations: 184.2 kB / 0.954 GB, free: 12 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.331e-05/0.315, allocations: 180.4 kB / 0.9542 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.329e-05/0.3151, allocations: 180.2 kB / 0.9544 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.3153, allocations: 311.8 kB / 0.9547 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.3153, allocations: 108.9 kB / 0.9548 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.304e-05/0.3154, allocations: 184.3 kB / 0.955 GB, free: 11 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.3156, allocations: 112.9 kB / 0.9551 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.911e-05/0.3157, allocations: 180.2 kB / 0.9552 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/0.3157, allocations: 105 kB / 0.9553 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 5.767e-05/0.3158, allocations: 87.28 kB / 0.9554 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3158, allocations: 0 / 0.9554 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003232/0.3161, allocations: 55.73 kB / 0.9555 GB, free: 10.45 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.0003386/0.3164, allocations: 254.2 kB / 0.9557 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 7.25e-05/0.3165, allocations: 7.984 kB / 0.9557 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.3165, allocations: 3.938 kB / 0.9557 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.704e-06/0.3165, allocations: 0 / 0.9557 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.317, allocations: 474 kB / 0.9562 GB, free: 9.711 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.3173, allocations: 207.9 kB / 0.9564 GB, free: 9.477 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.509e-05/0.3173, allocations: 63.34 kB / 0.9564 GB, free: 9.395 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.3173, allocations: 7.438 kB / 0.9564 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of SimCode: time 2.41e-07/0.3173, allocations: 0 / 0.9564 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of Templates: time 0.002962/0.3203, allocations: 1.24 MB / 0.9577 GB, free: 8.152 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.333290789276361] Failed to read output from testmodel.py, exit status != 0: 0.3272458827123046 0.342268636 0.027970532000000003 Calling exit ...