Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008114/0.0008114, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009183/0.0009183, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8865/0.8865, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.751/1.751, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.65e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001486/0.001513, allocations: 1.278 MB / 1.001 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5352/0.5367, allocations: 120.9 MB / 1.119 GB, free: 8.543 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.886e-05/0.5367, allocations: 0 / 1.119 GB, free: 8.543 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.451e-05/0.5367, allocations: 4.031 kB / 1.119 GB, free: 8.543 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 5.023e-05/0.5368, allocations: 6.562 kB / 1.119 GB, free: 8.539 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.538, allocations: 470.5 kB / 1.119 GB, free: 8.375 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.365e-05/0.538, allocations: 38.58 kB / 1.119 GB, free: 8.363 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.5381, allocations: 5.578 kB / 1.119 GB, free: 8.363 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.924e-05/0.5381, allocations: 32.06 kB / 1.119 GB, free: 8.352 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.402e-05/0.5382, allocations: 20.81 kB / 1.12 GB, free: 8.344 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.5382, allocations: 1.156 kB / 1.12 GB, free: 8.344 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.5394, allocations: 0.7991 MB / 1.12 GB, free: 8.176 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.5394, allocations: 5.047 kB / 1.12 GB, free: 8.176 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.5394, allocations: 16.64 kB / 1.12 GB, free: 8.168 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.000638/0.5401, allocations: 0.5626 MB / 1.121 GB, free: 8.012 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5401, allocations: 1.312 kB / 1.121 GB, free: 8.012 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5401, allocations: 0 / 1.121 GB, free: 8.012 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.5401, allocations: 0 / 1.121 GB, free: 8.012 MB / 0.9948 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.0003584/0.5404, allocations: 297.6 kB / 1.121 GB, free: 7.73 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.5405, allocations: 10.19 kB / 1.121 GB, free: 7.73 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.454e-05/0.5405, allocations: 37.16 kB / 1.121 GB, free: 7.688 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.5406, allocations: 14.05 kB / 1.121 GB, free: 7.688 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.772e-05/0.5407, allocations: 109.1 kB / 1.121 GB, free: 7.559 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.5407, allocations: 5.75 kB / 1.121 GB, free: 7.555 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.5407, allocations: 4.188 kB / 1.121 GB, free: 7.555 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.5408, allocations: 132.4 kB / 1.121 GB, free: 7.422 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.5408, allocations: 3.938 kB / 1.121 GB, free: 7.418 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.5408, allocations: 4.906 kB / 1.121 GB, free: 7.414 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.5408, allocations: 4.938 kB / 1.121 GB, free: 7.41 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.809e-05/0.5409, allocations: 22.69 kB / 1.121 GB, free: 7.402 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001136/0.541, allocations: 138.1 kB / 1.122 GB, free: 7.238 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.01e-05/0.5411, allocations: 54.95 kB / 1.122 GB, free: 7.203 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/0.5411, allocations: 12.16 kB / 1.122 GB, free: 7.195 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005977/0.5471, allocations: 2.867 MB / 1.124 GB, free: 6.891 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.5471, allocations: 37.48 kB / 1.125 GB, free: 6.848 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=7): time 1.963e-06/0.5471, allocations: 0 / 1.125 GB, free: 6.848 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.02367/0.5708, allocations: 14.93 MB / 1.139 GB, free: 4.934 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.5708, allocations: 54.19 kB / 1.139 GB, free: 4.871 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.191e-05/0.5708, allocations: 92.31 kB / 1.139 GB, free: 4.773 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.986e-06/0.5708, allocations: 30.89 kB / 1.139 GB, free: 4.738 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.916e-06/0.5709, allocations: 81.3 kB / 1.139 GB, free: 4.656 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.5709, allocations: 39.89 kB / 1.139 GB, free: 4.625 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.5709, allocations: 29.45 kB / 1.139 GB, free: 4.602 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.978e-05/0.571, allocations: 323.1 kB / 1.14 GB, free: 4.281 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.45e-05/0.571, allocations: 23.47 kB / 1.14 GB, free: 4.273 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.79e-05/0.571, allocations: 25.34 kB / 1.14 GB, free: 4.266 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.201e-05/0.5711, allocations: 61.47 kB / 1.14 GB, free: 4.234 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.5711, allocations: 0 / 1.14 GB, free: 4.234 MB / 0.9948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001425/0.5713, allocations: 111.6 kB / 1.14 GB, free: 4.176 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.5713, allocations: 5.422 kB / 1.14 GB, free: 4.176 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5713, allocations: 5.172 kB / 1.14 GB, free: 4.172 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.5713, allocations: 0 / 1.14 GB, free: 4.172 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.5714, allocations: 31.55 kB / 1.14 GB, free: 4.164 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.5714, allocations: 0 / 1.14 GB, free: 4.164 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.544e-05/0.5714, allocations: 5.609 kB / 1.14 GB, free: 4.16 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.5714, allocations: 8.094 kB / 1.14 GB, free: 4.156 MB / 0.9948 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 4.416e-05/0.5714, allocations: 114.2 kB / 1.14 GB, free: 4.039 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.5715, allocations: 6.953 kB / 1.14 GB, free: 4.035 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.5717, allocations: 132.4 kB / 1.14 GB, free: 3.957 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5717, allocations: 1.438 kB / 1.14 GB, free: 3.957 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5717, allocations: 6.297 kB / 1.14 GB, free: 3.953 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.5717, allocations: 0.5625 kB / 1.14 GB, free: 3.953 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.519e-05/0.5717, allocations: 139.4 kB / 1.14 GB, free: 3.789 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5717, allocations: 6.219 kB / 1.14 GB, free: 3.785 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.468e-05/0.5718, allocations: 26.84 kB / 1.14 GB, free: 3.781 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5718, allocations: 1.562 kB / 1.14 GB, free: 3.781 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.5718, allocations: 1.906 kB / 1.14 GB, free: 3.781 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5718, allocations: 1.438 kB / 1.14 GB, free: 3.781 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5718, allocations: 0 / 1.14 GB, free: 3.781 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.572, allocations: 155.8 kB / 1.141 GB, free: 3.676 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.5721, allocations: 20.38 kB / 1.141 GB, free: 3.664 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.5721, allocations: 9.406 kB / 1.141 GB, free: 3.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-05/0.5722, allocations: 15.86 kB / 1.141 GB, free: 3.656 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.5722, allocations: 7.141 kB / 1.141 GB, free: 3.656 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.5722, allocations: 9.094 kB / 1.141 GB, free: 3.652 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.155e-05/0.5722, allocations: 76.84 kB / 1.141 GB, free: 3.578 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-08/0.5722, allocations: 0 / 1.141 GB, free: 3.578 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002167/0.5744, allocations: 0.5637 MB / 1.141 GB, free: 3.551 MB / 0.9948 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.002578/0.5769, allocations: 0.9703 MB / 1.142 GB, free: 2.859 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001505/0.5771, allocations: 64.94 kB / 1.142 GB, free: 2.84 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5771, allocations: 0 / 1.142 GB, free: 2.84 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.028e-05/0.5771, allocations: 35.97 kB / 1.142 GB, free: 2.828 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.5773, allocations: 12.27 kB / 1.142 GB, free: 2.824 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.5787, allocations: 1.492 MB / 1.144 GB, free: 1.531 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.574e-05/0.5787, allocations: 69.3 kB / 1.144 GB, free: 1.461 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 5.719e-05/0.5788, allocations: 28.27 kB / 1.144 GB, free: 1.445 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.5788, allocations: 24.73 kB / 1.144 GB, free: 1.434 MB / 0.9948 GB Notification: Performance of SimCode: time 1.072e-06/0.5788, allocations: 0 / 1.144 GB, free: 1.434 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05316/0.632, allocations: 26.19 MB / 1.169 GB, free: 8.766 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.906/7.538, allocations: 9.094 kB / 1.169 GB, free: 8.762 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 11.878033117391169] Failed to read output from testmodel.py, exit status != 0: 7.6219776989892125 7.630168872 7.088361851 Calling exit ...