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.00136/0.00136, allocations: 102.5 kB / 16.45 MB, free: 6.445 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.001768/0.001768, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.465/1.465, allocations: 225.6 MB / 247.8 MB, free: 3.754 MB / 190.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.002396/0.002396, allocations: 284.4 kB / 303 MB, free: 3.574 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.099/1.099, allocations: 180.9 MB / 0.5261 GB, free: 2.766 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: "" <> 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: Performance of FrontEnd - loaded program: time 0.002932/0.002932, allocations: 103.8 kB / 0.7247 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5838/0.5867, allocations: 94.15 MB / 0.8167 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1698/0.7566, allocations: 135.8 MB / 0.9493 GB, free: 8.949 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0001916/0.7568, allocations: 63.8 kB / 0.9493 GB, free: 8.887 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.018e-05/0.7568, allocations: 0 / 0.9493 GB, free: 8.887 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.7569, allocations: 3.984 kB / 0.9493 GB, free: 8.883 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 7.507e-05/0.757, allocations: 7.938 kB / 0.9494 GB, free: 8.875 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.758, allocations: 250.3 kB / 0.9496 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 9.649e-05/0.7581, allocations: 35.84 kB / 0.9496 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.7581, allocations: 4 kB / 0.9496 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.426e-05/0.7582, allocations: 15.92 kB / 0.9496 GB, free: 8.578 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 7.849e-05/0.7583, allocations: 11.98 kB / 0.9497 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.7583, allocations: 4 kB / 0.9497 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000577/0.7589, allocations: 251.4 kB / 0.9499 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.7589, allocations: 3.984 kB / 0.9499 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 3.487e-05/0.7589, allocations: 15.94 kB / 0.9499 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0004185/0.7594, allocations: 190.2 kB / 0.9501 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.7594, allocations: 0 / 0.9501 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7594, allocations: 3.938 kB / 0.9501 GB, free: 8.113 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.7594, allocations: 0 / 0.9501 GB, free: 8.113 MB / 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.0004894/0.7599, allocations: 363.1 kB / 0.9505 GB, free: 7.711 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.7599, allocations: 8.031 kB / 0.9505 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.7599, allocations: 34.75 kB / 0.9505 GB, free: 7.66 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.76, allocations: 0.9375 kB / 0.9505 GB, free: 7.66 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.7601, allocations: 164.4 kB / 0.9507 GB, free: 7.461 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.844e-05/0.7602, allocations: 38 kB / 0.9507 GB, free: 7.418 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.7602, allocations: 0 / 0.9507 GB, free: 7.418 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.7603, allocations: 45.62 kB / 0.9507 GB, free: 7.367 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.7603, allocations: 0 / 0.9507 GB, free: 7.367 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.7603, allocations: 3.984 kB / 0.9507 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.7604, allocations: 4 kB / 0.9507 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.816e-05/0.7604, allocations: 12 kB / 0.9508 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008556/0.7613, allocations: 0.6066 MB / 0.9513 GB, free: 6.617 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 4.381e-05/0.7613, allocations: 18.58 kB / 0.9514 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.7613, allocations: 4.859 kB / 0.9514 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/0.7616, allocations: 340.4 kB / 0.9517 GB, free: 6.176 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.7616, allocations: 38.5 kB / 0.9517 GB, free: 6.129 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.7616, allocations: 4 kB / 0.9517 GB, free: 6.125 MB / 0.6856 GB Notification: Performance of matching and sorting (n=1): time 0.0001496/0.7618, allocations: 33.66 kB / 0.9518 GB, free: 6.086 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.144e-05/0.7618, allocations: 55.41 kB / 0.9518 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.429e-05/0.7619, allocations: 101.8 kB / 0.9519 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.762, allocations: 25.7 kB / 0.9519 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.7621, allocations: 88.09 kB / 0.952 GB, free: 5.789 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.03e-06/0.7621, allocations: 0 / 0.952 GB, free: 5.789 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.7622, allocations: 25.64 kB / 0.952 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.7623, allocations: 318.9 kB / 0.9523 GB, free: 5.438 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.7623, allocations: 4 kB / 0.9524 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.904e-05/0.7624, allocations: 21.66 kB / 0.9524 GB, free: 5.406 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.926e-05/0.7624, allocations: 17.7 kB / 0.9524 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.7624, allocations: 4 kB / 0.9524 GB, free: 5.379 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.433e-05/0.7625, allocations: 53.66 kB / 0.9524 GB, free: 5.32 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.7625, allocations: 8 kB / 0.9525 GB, free: 5.312 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.7625, allocations: 0 / 0.9525 GB, free: 5.312 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.7625, allocations: 0 / 0.9525 GB, free: 5.312 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.802e-05/0.7626, allocations: 4 kB / 0.9525 GB, free: 5.309 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.7626, allocations: 4 kB / 0.9525 GB, free: 5.305 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.7626, allocations: 7.891 kB / 0.9525 GB, free: 5.297 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.7626, allocations: 0 / 0.9525 GB, free: 5.297 MB / 0.6856 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.505e-05/0.7627, allocations: 113.8 kB / 0.9526 GB, free: 5.176 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.7627, allocations: 32 / 0.9526 GB, free: 5.176 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.7629, allocations: 124.9 kB / 0.9527 GB, free: 5.043 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.503e-05/0.7629, allocations: 176.3 kB / 0.9529 GB, free: 4.863 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.858e-05/0.763, allocations: 184.2 kB / 0.953 GB, free: 4.676 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.06e-05/0.7631, allocations: 188.2 kB / 0.9532 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.7634, allocations: 401.2 kB / 0.9536 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.876e-05/0.7634, allocations: 112.9 kB / 0.9537 GB, free: 3.918 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.7635, allocations: 101 kB / 0.9538 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.956e-05/0.7636, allocations: 184.2 kB / 0.954 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.188e-05/0.7637, allocations: 176.3 kB / 0.9541 GB, free: 3.445 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.375e-05/0.7637, allocations: 180.3 kB / 0.9543 GB, free: 3.262 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.391e-05/0.7638, allocations: 188.5 kB / 0.9545 GB, free: 3.07 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.764, allocations: 307.7 kB / 0.9548 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.7641, allocations: 182.3 kB / 0.955 GB, free: 2.543 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.95e-05/0.7642, allocations: 188.2 kB / 0.9551 GB, free: 2.352 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.7644, allocations: 113 kB / 0.9553 GB, free: 2.234 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/0.7645, allocations: 184.3 kB / 0.9554 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.373e-05/0.7645, allocations: 108.9 kB / 0.9555 GB, free: 1.934 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 5.331e-05/0.7646, allocations: 83.27 kB / 0.9556 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7646, allocations: 3.938 kB / 0.9556 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003423/0.7649, allocations: 59.8 kB / 0.9557 GB, free: 1.789 MB / 0.6856 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.0007184/0.7656, allocations: 0.8905 MB / 0.9565 GB, free: 0.8672 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 7.49e-05/0.7657, allocations: 15.94 kB / 0.9566 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.7657, allocations: 0 / 0.9566 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.7657, allocations: 0 / 0.9566 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.7662, allocations: 465.6 kB / 0.957 GB, free: 404 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.7674, allocations: 1.348 MB / 0.9583 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.7677, allocations: 0.6768 MB / 0.959 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 4.143e-05/0.7677, allocations: 7.938 kB / 0.959 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.7678, allocations: 7.438 kB / 0.959 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of SimCode: time 3.61e-07/0.7678, allocations: 0 / 0.959 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.7921, allocations: 2.235 MB / 0.9612 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/8.803, allocations: 11.23 kB / 0.9612 GB, free: 12.14 MB / 0.7012 GB " [Timeout remaining time 651] (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: 12.718391243834049] Failed to read output from testmodel.py, exit status != 0: 8.870448048226535 8.884504126 8.122119978 Calling exit ...