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.001235/0.001235, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00136/0.00136, allocations: 218.6 kB / 23.03 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.394/1.394, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.002442/0.002442, allocations: 295.7 kB / 313.5 MB, free: 2.598 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.188/1.188, allocations: 180.6 MB / 0.5377 GB, free: 14.56 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: "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [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.002813/0.002813, allocations: 96.83 kB / 0.7402 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1682, allocations: 95.38 MB / 0.8334 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1445/0.3127, allocations: 118.9 MB / 0.9495 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0001741/0.3129, allocations: 51.75 kB / 0.9496 GB, free: 0.8867 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.3129, allocations: 0 / 0.9496 GB, free: 0.8867 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.313, allocations: 7.922 kB / 0.9496 GB, free: 0.8789 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 6.927e-05/0.3131, allocations: 7.938 kB / 0.9496 GB, free: 0.8711 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007976/0.3139, allocations: 248.2 kB / 0.9498 GB, free: 0.6289 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 7.922e-05/0.314, allocations: 31.91 kB / 0.9498 GB, free: 0.5977 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.169e-05/0.314, allocations: 0 / 0.9498 GB, free: 0.5977 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.394e-05/0.314, allocations: 19.94 kB / 0.9499 GB, free: 0.5781 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 6.607e-05/0.3141, allocations: 15.91 kB / 0.9499 GB, free: 0.5625 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.3141, allocations: 8 kB / 0.9499 GB, free: 0.5547 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000361/0.3145, allocations: 175.5 kB / 0.9501 GB, free: 392 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.26e-05/0.3145, allocations: 8 kB / 0.9501 GB, free: 384 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.3145, allocations: 11.92 kB / 0.9501 GB, free: 372 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.3149, allocations: 167.8 kB / 0.9502 GB, free: 204 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3149, allocations: 0 / 0.9502 GB, free: 204 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3149, allocations: 4 kB / 0.9502 GB, free: 200 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.3149, allocations: 0 / 0.9502 GB, free: 200 kB / 0.6856 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.0004122/0.3153, allocations: 282.1 kB / 0.9505 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3153, allocations: 9.344 kB / 0.9505 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.387e-05/0.3153, allocations: 4.188 kB / 0.9505 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.317e-05/0.3154, allocations: 38.75 kB / 0.9506 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.3154, allocations: 0.9375 kB / 0.9506 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.732e-05/0.3155, allocations: 110.5 kB / 0.9507 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.908e-05/0.3156, allocations: 59.52 kB / 0.9507 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-06/0.3156, allocations: 0 / 0.9507 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.3157, allocations: 75.38 kB / 0.9508 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3157, allocations: 0 / 0.9508 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.3157, allocations: 0 / 0.9508 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.3157, allocations: 0 / 0.9508 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.177e-05/0.3158, allocations: 11.98 kB / 0.9508 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006098/0.3164, allocations: 287.8 kB / 0.9511 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 3.914e-05/0.3164, allocations: 14.58 kB / 0.9511 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.3164, allocations: 8.859 kB / 0.9511 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.471e-05/0.3165, allocations: 36.03 kB / 0.9511 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.3165, allocations: 30.56 kB / 0.9512 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.3165, allocations: 3.938 kB / 0.9512 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1): time 0.0001453/0.3167, allocations: 37.64 kB / 0.9512 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.3167, allocations: 59.47 kB / 0.9513 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.3168, allocations: 105.8 kB / 0.9514 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.3168, allocations: 25.7 kB / 0.9514 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.3169, allocations: 88.09 kB / 0.9515 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.985e-06/0.3169, allocations: 7.922 kB / 0.9515 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.3169, allocations: 25.66 kB / 0.9515 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3171, allocations: 310.8 kB / 0.9518 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/0.3171, allocations: 4 kB / 0.9518 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.633e-05/0.3171, allocations: 17.72 kB / 0.9518 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.831e-05/0.3171, allocations: 29.64 kB / 0.9518 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3171, allocations: 0 / 0.9518 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.08e-05/0.3172, allocations: 45.69 kB / 0.9519 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.3172, allocations: 4 kB / 0.9519 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.3172, allocations: 4 kB / 0.9519 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.3172, allocations: 0 / 0.9519 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.005e-05/0.3173, allocations: 4 kB / 0.9519 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.3173, allocations: 3.938 kB / 0.9519 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.106e-05/0.3173, allocations: 7.938 kB / 0.9519 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.3173, allocations: 4 kB / 0.9519 GB, free: 14.25 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.559e-05/0.3174, allocations: 114.6 kB / 0.952 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.3174, allocations: 3.984 kB / 0.952 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.3175, allocations: 113 kB / 0.9521 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.631e-05/0.3176, allocations: 184.2 kB / 0.9523 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.818e-05/0.3177, allocations: 176.3 kB / 0.9525 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.859e-05/0.3178, allocations: 188.2 kB / 0.9527 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.318, allocations: 376.2 kB / 0.953 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.055e-05/0.318, allocations: 101 kB / 0.9531 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.898e-05/0.3181, allocations: 112.9 kB / 0.9532 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.932e-05/0.3181, allocations: 184.3 kB / 0.9534 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.498e-05/0.3182, allocations: 180.2 kB / 0.9536 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-05/0.3183, allocations: 176.4 kB / 0.9537 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-05/0.3184, allocations: 184.5 kB / 0.9539 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.3185, allocations: 315.7 kB / 0.9542 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.3186, allocations: 112.9 kB / 0.9543 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.64e-05/0.3187, allocations: 180.3 kB / 0.9545 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.3188, allocations: 109 kB / 0.9546 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.3189, allocations: 188.1 kB / 0.9548 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/0.319, allocations: 105 kB / 0.9549 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 5.324e-05/0.319, allocations: 91.27 kB / 0.955 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.319, allocations: 4 kB / 0.955 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003037/0.3193, allocations: 55.69 kB / 0.955 GB, free: 10.88 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.0006273/0.3199, allocations: 0.8865 MB / 0.9559 GB, free: 9.961 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 6.368e-05/0.32, allocations: 12 kB / 0.9559 GB, free: 9.949 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.32, allocations: 0 / 0.9559 GB, free: 9.949 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.32, allocations: 0 / 0.9559 GB, free: 9.949 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.3204, allocations: 463.6 kB / 0.9563 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.3215, allocations: 1.344 MB / 0.9577 GB, free: 8.062 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.602e-05/0.3216, allocations: 59.34 kB / 0.9577 GB, free: 7.984 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 3.765e-05/0.3216, allocations: 12.12 kB / 0.9577 GB, free: 7.973 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/0.3216, allocations: 7.438 kB / 0.9577 GB, free: 7.965 MB / 0.7012 GB Notification: Performance of SimCode: time 2.91e-07/0.3216, allocations: 0 / 0.9577 GB, free: 7.965 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.3448, allocations: 2.444 MB / 0.9601 GB, free: 5.68 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.04, allocations: 9.016 kB / 0.9601 GB, free: 5.676 MB / 0.7012 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.09544526191894] Failed to read output from testmodel.py, exit status != 0: 11.192159749916755 11.208382023 10.890455459 Calling exit ...