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.001375/0.001375, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00237/0.00237, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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 3.415/3.415, allocations: 0.505 GB / 0.8101 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002162/0.002162, allocations: 62.61 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.428/0.4302, allocations: 180.2 MB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002503/0.4327, allocations: 1.29 MB / 1.354 GB, free: 7.129 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1929/0.6256, allocations: 141 MB / 1.492 GB, free: 9.609 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.6257, allocations: 0 / 1.492 GB, free: 9.609 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 3.446e-05/0.6257, allocations: 0 / 1.492 GB, free: 9.609 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 8.603e-05/0.6258, allocations: 11.92 kB / 1.492 GB, free: 9.598 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.6277, allocations: 474.5 kB / 1.492 GB, free: 9.133 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.6278, allocations: 39.91 kB / 1.492 GB, free: 9.094 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.6279, allocations: 0 / 1.492 GB, free: 9.094 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 6.226e-05/0.6279, allocations: 27.86 kB / 1.492 GB, free: 9.066 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 9.514e-05/0.628, allocations: 23.91 kB / 1.492 GB, free: 9.043 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.628, allocations: 4 kB / 1.492 GB, free: 9.039 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002074/0.6301, allocations: 0.8309 MB / 1.493 GB, free: 8.207 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.6301, allocations: 11.94 kB / 1.493 GB, free: 8.195 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.6302, allocations: 27.91 kB / 1.493 GB, free: 8.168 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0008972/0.6311, allocations: 443 kB / 1.494 GB, free: 7.734 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6311, allocations: 0 / 1.494 GB, free: 7.734 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6311, allocations: 0 / 1.494 GB, free: 7.734 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.6311, allocations: 0 / 1.494 GB, free: 7.734 MB / 1.186 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.0007097/0.6318, allocations: 298.1 kB / 1.494 GB, free: 7.414 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 7.015e-05/0.6319, allocations: 8.031 kB / 1.494 GB, free: 7.406 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.189e-05/0.6319, allocations: 38.75 kB / 1.494 GB, free: 7.359 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.6321, allocations: 12.92 kB / 1.494 GB, free: 7.348 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.6322, allocations: 106.5 kB / 1.494 GB, free: 7.219 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.6323, allocations: 4.359 kB / 1.494 GB, free: 7.215 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.6323, allocations: 15.89 kB / 1.494 GB, free: 7.199 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.6325, allocations: 65.59 kB / 1.494 GB, free: 7.129 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.6325, allocations: 0 / 1.494 GB, free: 7.129 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.6325, allocations: 0 / 1.494 GB, free: 7.129 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.6325, allocations: 0 / 1.494 GB, free: 7.129 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.373e-05/0.6326, allocations: 19.98 kB / 1.494 GB, free: 7.109 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.6328, allocations: 132.7 kB / 1.494 GB, free: 6.938 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.6329, allocations: 58.48 kB / 1.494 GB, free: 6.871 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.633, allocations: 12.86 kB / 1.494 GB, free: 6.855 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01155/0.6445, allocations: 2.864 MB / 1.497 GB, free: 3.988 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.494e-05/0.6446, allocations: 34.56 kB / 1.497 GB, free: 3.945 MB / 1.186 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.6446, allocations: 3.938 kB / 1.497 GB, free: 3.941 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.04388/0.6885, allocations: 14.92 MB / 1.512 GB, free: 4.887 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.6885, allocations: 51.41 kB / 1.512 GB, free: 4.824 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.6886, allocations: 97.84 kB / 1.512 GB, free: 4.719 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.6887, allocations: 25.7 kB / 1.512 GB, free: 4.688 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/0.6887, allocations: 96.19 kB / 1.512 GB, free: 4.59 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/0.6888, allocations: 39.64 kB / 1.512 GB, free: 4.551 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/0.6888, allocations: 29.72 kB / 1.512 GB, free: 4.516 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.689, allocations: 322.8 kB / 1.512 GB, free: 4.191 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-05/0.689, allocations: 20 kB / 1.512 GB, free: 4.172 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.919e-05/0.6891, allocations: 34.42 kB / 1.512 GB, free: 4.141 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.6892, allocations: 60.78 kB / 1.512 GB, free: 4.078 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.6892, allocations: 0 / 1.512 GB, free: 4.078 MB / 1.201 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002329/0.6894, allocations: 105.7 kB / 1.513 GB, free: 3.969 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.6895, allocations: 8 kB / 1.513 GB, free: 3.961 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.6895, allocations: 240 / 1.513 GB, free: 3.961 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.6895, allocations: 0 / 1.513 GB, free: 3.961 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.6896, allocations: 23.98 kB / 1.513 GB, free: 3.938 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.6896, allocations: 7.922 kB / 1.513 GB, free: 3.93 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.838e-05/0.6897, allocations: 8 kB / 1.513 GB, free: 3.922 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.6897, allocations: 4 kB / 1.513 GB, free: 3.918 MB / 1.201 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.0001285/0.6898, allocations: 117.8 kB / 1.513 GB, free: 3.793 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.6898, allocations: 7.953 kB / 1.513 GB, free: 3.785 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.6901, allocations: 125.4 kB / 1.513 GB, free: 3.656 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.6901, allocations: 3.938 kB / 1.513 GB, free: 3.652 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6901, allocations: 0 / 1.513 GB, free: 3.652 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.6901, allocations: 3.938 kB / 1.513 GB, free: 3.648 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.6903, allocations: 148.7 kB / 1.513 GB, free: 3.461 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.6903, allocations: 0 / 1.513 GB, free: 3.461 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.6905, allocations: 31.92 kB / 1.513 GB, free: 3.43 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.6905, allocations: 4 kB / 1.513 GB, free: 3.426 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.6905, allocations: 4 kB / 1.513 GB, free: 3.422 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.6905, allocations: 0 / 1.513 GB, free: 3.422 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6905, allocations: 0 / 1.513 GB, free: 3.422 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.6908, allocations: 162.8 kB / 1.513 GB, free: 3.246 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 7.025e-05/0.6909, allocations: 8.031 kB / 1.513 GB, free: 3.238 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.6909, allocations: 11.94 kB / 1.513 GB, free: 3.227 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.6911, allocations: 15.98 kB / 1.513 GB, free: 3.211 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.6911, allocations: 11.92 kB / 1.513 GB, free: 3.199 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.6911, allocations: 4 kB / 1.513 GB, free: 3.195 MB / 1.201 GB Notification: Performance of sorting global known variables: time 4.566e-05/0.6911, allocations: 79.28 kB / 1.513 GB, free: 3.117 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.6911, allocations: 0 / 1.513 GB, free: 3.117 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001899/0.693, allocations: 0.566 MB / 1.514 GB, free: 2.551 MB / 1.201 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.004583/0.6976, allocations: 0.9403 MB / 1.515 GB, free: 1.582 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0002453/0.6979, allocations: 64.34 kB / 1.515 GB, free: 1.52 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.6979, allocations: 0 / 1.515 GB, free: 1.52 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 7.574e-05/0.698, allocations: 39.86 kB / 1.515 GB, free: 1.48 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.6982, allocations: 9.406 kB / 1.515 GB, free: 1.473 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.7009, allocations: 1.55 MB / 1.516 GB, free: 15.84 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.7014, allocations: 0.6846 MB / 1.517 GB, free: 15.13 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 8.334e-05/0.7015, allocations: 24.53 kB / 1.517 GB, free: 15.11 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.7015, allocations: 23.44 kB / 1.517 GB, free: 15.09 MB / 1.217 GB Notification: Performance of SimCode: time 3.11e-07/0.7015, allocations: 0 / 1.517 GB, free: 15.09 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07525/0.7768, allocations: 25.64 MB / 1.542 GB, free: 5.535 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.77, allocations: 8.719 kB / 1.542 GB, free: 5.531 MB / 1.232 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-10 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: 23.69177330005914] Failed to read output from testmodel.py, exit status != 0: 12.886570119066164 12.90145882 12.26717009 Calling exit ...