Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.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.00169/0.00169, 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.002194/0.002194, allocations: 209.9 kB / 22.24 MB, free: 5.258 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.798/2.798, allocations: 476 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002145/0.002145, allocations: 65.81 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3873, allocations: 169.9 MB / 1.283 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002524/0.3898, allocations: 1.291 MB / 1.284 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1681/0.558, allocations: 120.9 MB / 1.402 GB, free: 1.887 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.558, allocations: 0 / 1.402 GB, free: 1.887 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.558, allocations: 4 kB / 1.402 GB, free: 1.883 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 4.542e-05/0.5581, allocations: 3.938 kB / 1.402 GB, free: 1.879 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.5594, allocations: 458.4 kB / 1.402 GB, free: 1.43 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 8.778e-05/0.5595, allocations: 39.84 kB / 1.402 GB, free: 1.391 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.5595, allocations: 11.98 kB / 1.402 GB, free: 1.379 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 4.336e-05/0.5596, allocations: 19.92 kB / 1.402 GB, free: 1.359 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 8.137e-05/0.5596, allocations: 27.91 kB / 1.402 GB, free: 1.332 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.5596, allocations: 0 / 1.402 GB, free: 1.332 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.5611, allocations: 0.788 MB / 1.403 GB, free: 0.543 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.5612, allocations: 15.98 kB / 1.403 GB, free: 0.5273 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.5612, allocations: 19.92 kB / 1.403 GB, free: 0.5078 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0006235/0.5618, allocations: 454.5 kB / 1.404 GB, free: 68 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.5618, allocations: 0 / 1.404 GB, free: 68 kB / 1.092 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5618, allocations: 0 / 1.404 GB, free: 68 kB / 1.092 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.5618, allocations: 0 / 1.404 GB, free: 68 kB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005057/0.5623, allocations: 294.3 kB / 1.404 GB, free: 15.75 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.5624, allocations: 8.031 kB / 1.404 GB, free: 15.74 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.746e-05/0.5624, allocations: 34.75 kB / 1.404 GB, free: 15.7 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.5626, allocations: 20.81 kB / 1.404 GB, free: 15.68 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.5627, allocations: 110.5 kB / 1.404 GB, free: 15.54 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.5627, allocations: 4.375 kB / 1.404 GB, free: 15.54 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.5627, allocations: 3.938 kB / 1.404 GB, free: 15.54 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.5629, allocations: 134.8 kB / 1.404 GB, free: 15.38 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.5629, allocations: 0 / 1.404 GB, free: 15.38 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.563, allocations: 0 / 1.404 GB, free: 15.38 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.563, allocations: 0 / 1.404 GB, free: 15.38 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.867e-05/0.563, allocations: 19.98 kB / 1.404 GB, free: 15.36 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.5632, allocations: 132.8 kB / 1.404 GB, free: 15.19 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.5633, allocations: 54.44 kB / 1.404 GB, free: 15.12 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.5634, allocations: 16.84 kB / 1.404 GB, free: 15.11 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01182/0.5752, allocations: 2.872 MB / 1.407 GB, free: 12.23 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.5752, allocations: 34.56 kB / 1.407 GB, free: 12.19 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 2.254e-06/0.5752, allocations: 0 / 1.407 GB, free: 12.19 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.04465/0.6199, allocations: 14.93 MB / 1.422 GB, free: 13.12 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.6199, allocations: 55.34 kB / 1.422 GB, free: 13.06 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.11e-05/0.62, allocations: 97.86 kB / 1.422 GB, free: 12.95 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.62, allocations: 29.7 kB / 1.422 GB, free: 12.92 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.6201, allocations: 88.02 kB / 1.422 GB, free: 12.83 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 9.164e-05/0.6201, allocations: 39.69 kB / 1.422 GB, free: 12.79 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.6202, allocations: 33.7 kB / 1.422 GB, free: 12.75 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.6203, allocations: 314.8 kB / 1.422 GB, free: 12.43 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-05/0.6204, allocations: 23.98 kB / 1.422 GB, free: 12.41 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.812e-05/0.6204, allocations: 30.23 kB / 1.423 GB, free: 12.38 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.6206, allocations: 56.8 kB / 1.423 GB, free: 12.32 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.6206, allocations: 0 / 1.423 GB, free: 12.32 MB / 1.123 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002274/0.6208, allocations: 123.3 kB / 1.423 GB, free: 12.2 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.6208, allocations: 4 kB / 1.423 GB, free: 12.2 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.6208, allocations: 0 / 1.423 GB, free: 12.2 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.6208, allocations: 0 / 1.423 GB, free: 12.2 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.621, allocations: 23.98 kB / 1.423 GB, free: 12.17 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.621, allocations: 0 / 1.423 GB, free: 12.17 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.85e-05/0.621, allocations: 8 kB / 1.423 GB, free: 12.16 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.621, allocations: 7.984 kB / 1.423 GB, free: 12.16 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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 0.0001026/0.6211, allocations: 113.8 kB / 1.423 GB, free: 12.04 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.6212, allocations: 7.953 kB / 1.423 GB, free: 12.03 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.6215, allocations: 125.4 kB / 1.423 GB, free: 11.9 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.6215, allocations: 0 / 1.423 GB, free: 11.9 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6215, allocations: 0 / 1.423 GB, free: 11.9 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.6215, allocations: 0 / 1.423 GB, free: 11.9 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.6216, allocations: 152.6 kB / 1.423 GB, free: 11.71 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6217, allocations: 0 / 1.423 GB, free: 11.71 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.6218, allocations: 31.92 kB / 1.423 GB, free: 11.68 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6218, allocations: 4 kB / 1.423 GB, free: 11.67 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.6218, allocations: 0 / 1.423 GB, free: 11.67 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.6218, allocations: 0 / 1.423 GB, free: 11.67 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.6218, allocations: 7.922 kB / 1.423 GB, free: 11.66 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.6221, allocations: 156.8 kB / 1.423 GB, free: 11.5 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.6221, allocations: 12.03 kB / 1.423 GB, free: 11.48 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.6222, allocations: 0 / 1.423 GB, free: 11.48 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.6223, allocations: 11.98 kB / 1.423 GB, free: 11.47 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/0.6223, allocations: 11.98 kB / 1.423 GB, free: 11.46 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.6223, allocations: 12 kB / 1.423 GB, free: 11.45 MB / 1.123 GB Notification: Performance of sorting global known variables: time 4.352e-05/0.6224, allocations: 79.22 kB / 1.423 GB, free: 11.37 MB / 1.123 GB Notification: Performance of sort global known variables: time 6e-08/0.6224, allocations: 0 / 1.423 GB, free: 11.37 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001839/0.6242, allocations: 0.5699 MB / 1.424 GB, free: 10.8 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.00357/0.6278, allocations: 0.9323 MB / 1.425 GB, free: 9.84 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.628, allocations: 72.28 kB / 1.425 GB, free: 9.77 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.628, allocations: 0 / 1.425 GB, free: 9.77 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 6.247e-05/0.6281, allocations: 27.94 kB / 1.425 GB, free: 9.742 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.6282, allocations: 11.98 kB / 1.425 GB, free: 9.73 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.6305, allocations: 1.562 MB / 1.427 GB, free: 8.09 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.663e-05/0.6306, allocations: 75.27 kB / 1.427 GB, free: 7.996 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 8.481e-05/0.6307, allocations: 20.55 kB / 1.427 GB, free: 7.977 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.6307, allocations: 23.44 kB / 1.427 GB, free: 7.953 MB / 1.123 GB Notification: Performance of SimCode: time 5.1e-07/0.6307, allocations: 0 / 1.427 GB, free: 7.953 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07234/0.703, allocations: 26.03 MB / 1.452 GB, free: 14.03 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.93, allocations: 5.953 kB / 1.452 GB, free: 14.03 MB / 1.154 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-10 Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 23.167958928272128] Failed to read output from testmodel.py, exit status != 0: 13.686077721882612 13.063172533 12.497811936 Calling exit ...