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.001293/0.001293, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001533/0.001533, allocations: 209.8 kB / 22.24 MB, free: 5.262 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.416/1.416, allocations: 230.6 MB / 256 MB, free: 7.785 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.002439/0.002439, allocations: 285.1 kB / 312.7 MB, free: 2.602 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.169/1.169, allocations: 180.6 MB / 0.5369 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",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.002891/0.002891, allocations: 99.7 kB / 0.7395 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1824, allocations: 95.38 MB / 0.8326 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1473/0.3297, allocations: 119 MB / 0.9488 GB, free: 0.8594 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0001641/0.3298, allocations: 59.84 kB / 0.9489 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.12e-05/0.3299, allocations: 0 / 0.9489 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.33, allocations: 7.938 kB / 0.9489 GB, free: 0.793 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 6.787e-05/0.33, allocations: 7.922 kB / 0.9489 GB, free: 0.7852 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008049/0.3308, allocations: 243 kB / 0.9491 GB, free: 0.5469 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 7.897e-05/0.3309, allocations: 39.84 kB / 0.9492 GB, free: 0.5078 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.545e-05/0.3309, allocations: 0 / 0.9492 GB, free: 0.5078 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.382e-05/0.331, allocations: 15.98 kB / 0.9492 GB, free: 0.4922 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 7.159e-05/0.3311, allocations: 23.8 kB / 0.9492 GB, free: 484 kB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.3311, allocations: 0 / 0.9492 GB, free: 484 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003851/0.3315, allocations: 175.5 kB / 0.9494 GB, free: 308 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.3315, allocations: 7.984 kB / 0.9494 GB, free: 300 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.3315, allocations: 11.94 kB / 0.9494 GB, free: 288 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.3318, allocations: 163.8 kB / 0.9496 GB, free: 124 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3318, allocations: 0 / 0.9496 GB, free: 124 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3318, allocations: 0 / 0.9496 GB, free: 124 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.3318, allocations: 0 / 0.9496 GB, free: 124 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.0003986/0.3322, allocations: 286 kB / 0.9498 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3323, allocations: 17.34 kB / 0.9498 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.649e-05/0.3323, allocations: 38.73 kB / 0.9499 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.3323, allocations: 0.9375 kB / 0.9499 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.818e-05/0.3324, allocations: 106.5 kB / 0.95 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.609e-05/0.3325, allocations: 55.72 kB / 0.95 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.3325, allocations: 4 kB / 0.95 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.3326, allocations: 67.39 kB / 0.9501 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3326, allocations: 0 / 0.9501 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.3327, allocations: 0 / 0.9501 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.3327, allocations: 7.938 kB / 0.9501 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.261e-05/0.3327, allocations: 15.98 kB / 0.9501 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006122/0.3333, allocations: 275.9 kB / 0.9504 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 4.154e-05/0.3334, allocations: 18.61 kB / 0.9504 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.537e-05/0.3334, allocations: 8.922 kB / 0.9504 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.112e-05/0.3335, allocations: 27.98 kB / 0.9504 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.3335, allocations: 30.56 kB / 0.9505 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3335, allocations: 3.938 kB / 0.9505 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1): time 0.0001396/0.3336, allocations: 37.69 kB / 0.9505 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.3337, allocations: 59.47 kB / 0.9506 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.266e-05/0.3337, allocations: 101.9 kB / 0.9507 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.3338, allocations: 25.7 kB / 0.9507 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.3338, allocations: 92.02 kB / 0.9508 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.352e-06/0.3338, allocations: 3.953 kB / 0.9508 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.3338, allocations: 17.72 kB / 0.9508 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.334, allocations: 318.8 kB / 0.9511 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.507e-05/0.334, allocations: 3.984 kB / 0.9511 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.527e-05/0.334, allocations: 17.72 kB / 0.9511 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.92e-05/0.334, allocations: 29.66 kB / 0.9512 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.3341, allocations: 0 / 0.9512 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.531e-05/0.3341, allocations: 45.62 kB / 0.9512 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.3341, allocations: 8 kB / 0.9512 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.3341, allocations: 0 / 0.9512 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3342, allocations: 3.938 kB / 0.9512 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.159e-05/0.3342, allocations: 7.984 kB / 0.9512 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3342, allocations: 4 kB / 0.9512 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.29e-05/0.3342, allocations: 11.94 kB / 0.9512 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.3342, allocations: 64 / 0.9512 GB, free: 14.18 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.443e-05/0.3343, allocations: 114.5 kB / 0.9513 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.3343, allocations: 0 / 0.9513 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.3344, allocations: 120.9 kB / 0.9515 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.21e-05/0.3345, allocations: 180.5 kB / 0.9516 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.241e-05/0.3346, allocations: 180.3 kB / 0.9518 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.165e-05/0.3347, allocations: 184.1 kB / 0.952 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.3349, allocations: 384.2 kB / 0.9523 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.331e-05/0.335, allocations: 104.9 kB / 0.9524 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.033e-05/0.335, allocations: 109 kB / 0.9525 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.876e-05/0.3351, allocations: 180.3 kB / 0.9527 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.763e-05/0.3352, allocations: 184.2 kB / 0.9529 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.515e-05/0.3352, allocations: 180.4 kB / 0.9531 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-05/0.3353, allocations: 184.2 kB / 0.9532 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.3355, allocations: 311.7 kB / 0.9535 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/0.3355, allocations: 105 kB / 0.9536 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.325e-05/0.3356, allocations: 184.3 kB / 0.9538 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.3358, allocations: 104.9 kB / 0.9539 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.3359, allocations: 184.2 kB / 0.9541 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/0.3359, allocations: 108.9 kB / 0.9542 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.888e-05/0.336, allocations: 87.28 kB / 0.9543 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of sort global known variables: time 6e-08/0.336, allocations: 0 / 0.9543 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000303/0.3363, allocations: 59.73 kB / 0.9543 GB, free: 10.81 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.0006081/0.3369, allocations: 0.8826 MB / 0.9552 GB, free: 9.898 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 7.176e-05/0.337, allocations: 11.94 kB / 0.9552 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.337, allocations: 3.938 kB / 0.9552 GB, free: 9.883 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.337, allocations: 0 / 0.9552 GB, free: 9.883 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.3374, allocations: 469.5 kB / 0.9557 GB, free: 9.422 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.3385, allocations: 1.344 MB / 0.957 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.736e-05/0.3386, allocations: 59.34 kB / 0.957 GB, free: 7.914 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 3.689e-05/0.3386, allocations: 12.12 kB / 0.957 GB, free: 7.902 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.3387, allocations: 11.42 kB / 0.957 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of SimCode: time 2.6e-07/0.3387, allocations: 0 / 0.957 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.3689, allocations: 2.786 MB / 0.9598 GB, free: 5.25 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.99, allocations: 8.062 kB / 0.9598 GB, free: 5.242 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.006683809217066] Failed to read output from testmodel.py, exit status != 0: 11.089167140889913 11.115013408 10.778447146 Calling exit ...