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.001332/0.001332, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001475/0.001475, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 8.004 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.002472/0.002472, allocations: 282.5 kB / 312.7 MB, free: 2.805 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.262/1.262, allocations: 180.6 MB / 0.5369 GB, free: 13 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.002913/0.002913, allocations: 103.2 kB / 0.7396 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1912, allocations: 95.39 MB / 0.8327 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1709/0.3621, allocations: 138.7 MB / 0.9681 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001753/0.3623, allocations: 55.72 kB / 0.9682 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.233e-05/0.3623, allocations: 7.828 kB / 0.9682 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.3624, allocations: 3.938 kB / 0.9682 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.33e-05/0.3625, allocations: 11.92 kB / 0.9682 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008468/0.3633, allocations: 247 kB / 0.9684 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.3634, allocations: 35.91 kB / 0.9685 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.3635, allocations: 4 kB / 0.9685 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.695e-05/0.3635, allocations: 15.92 kB / 0.9685 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.454e-05/0.3636, allocations: 15.92 kB / 0.9685 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.3636, allocations: 4 kB / 0.9685 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005006/0.3641, allocations: 255.4 kB / 0.9688 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.3641, allocations: 11.98 kB / 0.9688 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.3642, allocations: 4 kB / 0.9688 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.3645, allocations: 187.8 kB / 0.969 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3645, allocations: 0 / 0.969 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3645, allocations: 4 kB / 0.969 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.3645, allocations: 7.938 kB / 0.969 GB, free: 12.56 MB / 0.7169 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.0004102/0.3649, allocations: 282.1 kB / 0.9692 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.365, allocations: 9.938 kB / 0.9692 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/0.365, allocations: 30.75 kB / 0.9693 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.3651, allocations: 4.938 kB / 0.9693 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.3652, allocations: 106.5 kB / 0.9694 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.981e-05/0.3652, allocations: 55.72 kB / 0.9694 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-06/0.3652, allocations: 11.94 kB / 0.9694 GB, free: 12 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.3654, allocations: 37.69 kB / 0.9695 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3654, allocations: 0 / 0.9695 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.3654, allocations: 0 / 0.9695 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.3654, allocations: 8 kB / 0.9695 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.49e-05/0.3655, allocations: 15.92 kB / 0.9695 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006933/0.3662, allocations: 291.8 kB / 0.9698 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.067e-05/0.3662, allocations: 14.58 kB / 0.9698 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.622e-05/0.3662, allocations: 8.844 kB / 0.9698 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-05/0.3663, allocations: 28.03 kB / 0.9698 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.3663, allocations: 38.56 kB / 0.9699 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.3663, allocations: 0 / 0.9699 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001501/0.3665, allocations: 33.64 kB / 0.9699 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.3665, allocations: 55.53 kB / 0.97 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.177e-05/0.3666, allocations: 105.8 kB / 0.9701 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.3666, allocations: 25.7 kB / 0.9701 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.3667, allocations: 84.09 kB / 0.9702 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.468e-06/0.3667, allocations: 11.89 kB / 0.9702 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.3667, allocations: 21.7 kB / 0.9702 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3669, allocations: 314.8 kB / 0.9705 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.339e-05/0.3669, allocations: 0 / 0.9705 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.442e-05/0.3669, allocations: 21.72 kB / 0.9705 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.928e-05/0.367, allocations: 29.64 kB / 0.9705 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.367, allocations: 0 / 0.9705 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.305e-05/0.3671, allocations: 45.69 kB / 0.9706 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3671, allocations: 11.94 kB / 0.9706 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3671, allocations: 0 / 0.9706 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3671, allocations: 4.062 kB / 0.9706 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.403e-05/0.3671, allocations: 4 kB / 0.9706 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3671, allocations: 4 kB / 0.9706 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.025e-05/0.3672, allocations: 3.938 kB / 0.9706 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.3672, allocations: 0 / 0.9706 GB, free: 10.66 MB / 0.7169 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.603e-05/0.3673, allocations: 114.5 kB / 0.9707 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.3673, allocations: 3.938 kB / 0.9707 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.3674, allocations: 124.9 kB / 0.9708 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.5e-05/0.3675, allocations: 180.2 kB / 0.971 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.446e-05/0.3676, allocations: 180.3 kB / 0.9712 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.579e-05/0.3676, allocations: 192.1 kB / 0.9714 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.3679, allocations: 372.3 kB / 0.9717 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.877e-05/0.3679, allocations: 108.9 kB / 0.9718 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-05/0.368, allocations: 109 kB / 0.9719 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.493e-05/0.3681, allocations: 176.3 kB / 0.9721 GB, free: 9.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.982e-05/0.3681, allocations: 184.2 kB / 0.9723 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.189e-05/0.3682, allocations: 176.3 kB / 0.9724 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-05/0.3683, allocations: 184.4 kB / 0.9726 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.3685, allocations: 315.7 kB / 0.9729 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.501e-05/0.3685, allocations: 108.9 kB / 0.973 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.379e-05/0.3686, allocations: 180.2 kB / 0.9732 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.3688, allocations: 116.9 kB / 0.9733 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.698e-05/0.3689, allocations: 180.3 kB / 0.9735 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/0.3689, allocations: 104.9 kB / 0.9736 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.472e-05/0.369, allocations: 87.27 kB / 0.9737 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.369, allocations: 0 / 0.9737 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003379/0.3693, allocations: 59.75 kB / 0.9737 GB, free: 7.281 MB / 0.7169 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.000671/0.37, allocations: 0.8787 MB / 0.9746 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.605e-05/0.3701, allocations: 12 kB / 0.9746 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3701, allocations: 4.062 kB / 0.9746 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.3701, allocations: 4 kB / 0.9746 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.3705, allocations: 462.8 kB / 0.975 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.3717, allocations: 1.348 MB / 0.9764 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.372, allocations: 0.6768 MB / 0.977 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.716e-05/0.3721, allocations: 8.031 kB / 0.977 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.3721, allocations: 11.44 kB / 0.977 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.3721, allocations: 0 / 0.977 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/0.4013, allocations: 2.336 MB / 0.9793 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.27, allocations: 2.922 kB / 0.9793 GB, free: 1.539 MB / 0.7169 GB " [Timeout remaining time 648] (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.852237659040838] Failed to read output from testmodel.py, exit status != 0: 11.719944410026073 11.733005519 11.365978257 Calling exit ...