Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.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.001282/0.001282, allocations: 106.1 kB / 16.45 MB, free: 6.035 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.001322/0.001322, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.428/1.428, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 443.5 MB / 0.7287 GB, free: 13.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 71.88 kB / 1.056 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7696/0.7716, allocations: 160.7 MB / 1.213 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002616/0.7742, allocations: 1.261 MB / 1.214 GB, free: 2.871 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1778/0.952, allocations: 138.1 MB / 1.349 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.276e-05/0.9521, allocations: 0 / 1.349 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.137e-05/0.9521, allocations: 0 / 1.349 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.483e-05/0.9522, allocations: 11.92 kB / 1.349 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.9539, allocations: 464.2 kB / 1.349 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.954, allocations: 47.77 kB / 1.349 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.825e-05/0.9541, allocations: 0 / 1.349 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.312e-05/0.9541, allocations: 23.92 kB / 1.349 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.439e-05/0.9542, allocations: 23.91 kB / 1.35 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.9542, allocations: 0 / 1.35 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.956, allocations: 0.8309 MB / 1.35 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.956, allocations: 7.984 kB / 1.35 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.956, allocations: 15.92 kB / 1.35 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007881/0.9568, allocations: 455 kB / 1.351 GB, free: 10.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9568, allocations: 0 / 1.351 GB, free: 10.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9568, allocations: 0 / 1.351 GB, free: 10.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.9568, allocations: 0 / 1.351 GB, free: 10.52 MB / 1.061 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.0005851/0.9574, allocations: 375.2 kB / 1.351 GB, free: 10.1 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.9574, allocations: 8.625 kB / 1.351 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.9575, allocations: 30.75 kB / 1.351 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.9577, allocations: 12.92 kB / 1.351 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.9578, allocations: 172.3 kB / 1.351 GB, free: 9.836 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.9578, allocations: 4.375 kB / 1.351 GB, free: 9.832 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.9579, allocations: 11.89 kB / 1.351 GB, free: 9.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.958, allocations: 61.64 kB / 1.351 GB, free: 9.754 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.958, allocations: 0 / 1.351 GB, free: 9.754 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.958, allocations: 4 kB / 1.351 GB, free: 9.75 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.9581, allocations: 4 kB / 1.351 GB, free: 9.746 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.273e-05/0.9581, allocations: 15.98 kB / 1.351 GB, free: 9.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.9583, allocations: 169.6 kB / 1.352 GB, free: 9.516 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.9584, allocations: 58.44 kB / 1.352 GB, free: 9.449 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.9585, allocations: 16.84 kB / 1.352 GB, free: 9.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01149/0.97, allocations: 3.201 MB / 1.355 GB, free: 6.133 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.97, allocations: 30.56 kB / 1.355 GB, free: 6.094 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.97, allocations: 0 / 1.355 GB, free: 6.094 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0426/1.013, allocations: 14.99 MB / 1.369 GB, free: 6.953 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/1.013, allocations: 59.41 kB / 1.37 GB, free: 6.883 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.144e-05/1.013, allocations: 89.86 kB / 1.37 GB, free: 6.785 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/1.013, allocations: 25.7 kB / 1.37 GB, free: 6.754 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.1e-05/1.013, allocations: 92.2 kB / 1.37 GB, free: 6.66 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/1.013, allocations: 47.62 kB / 1.37 GB, free: 6.613 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/1.013, allocations: 33.64 kB / 1.37 GB, free: 6.574 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001648/1.013, allocations: 322.8 kB / 1.37 GB, free: 6.25 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.474e-05/1.013, allocations: 19.98 kB / 1.37 GB, free: 6.23 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.565e-05/1.013, allocations: 23.94 kB / 1.37 GB, free: 6.207 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/1.013, allocations: 64.47 kB / 1.37 GB, free: 6.145 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/1.013, allocations: 0 / 1.37 GB, free: 6.145 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002494/1.014, allocations: 109.7 kB / 1.37 GB, free: 6.031 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/1.014, allocations: 6.812 kB / 1.37 GB, free: 6.027 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.014, allocations: 0 / 1.37 GB, free: 6.027 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/1.014, allocations: 4 kB / 1.37 GB, free: 6.023 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/1.014, allocations: 27.92 kB / 1.37 GB, free: 5.996 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/1.014, allocations: 3.984 kB / 1.37 GB, free: 5.992 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.699e-05/1.014, allocations: 4 kB / 1.37 GB, free: 5.988 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/1.014, allocations: 4 kB / 1.37 GB, free: 5.984 MB / 1.076 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.0001047/1.014, allocations: 123.2 kB / 1.37 GB, free: 5.855 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/1.014, allocations: 11.95 kB / 1.37 GB, free: 5.844 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/1.014, allocations: 125.4 kB / 1.371 GB, free: 5.707 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.014, allocations: 0 / 1.371 GB, free: 5.707 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.014, allocations: 0 / 1.371 GB, free: 5.707 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/1.014, allocations: 4 kB / 1.371 GB, free: 5.703 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/1.014, allocations: 177.6 kB / 1.371 GB, free: 5.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.014, allocations: 0 / 1.371 GB, free: 5.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/1.015, allocations: 27.98 kB / 1.371 GB, free: 5.453 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/1.015, allocations: 0 / 1.371 GB, free: 5.453 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/1.015, allocations: 4 kB / 1.371 GB, free: 5.449 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/1.015, allocations: 0 / 1.371 GB, free: 5.449 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/1.015, allocations: 0 / 1.371 GB, free: 5.449 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/1.015, allocations: 169 kB / 1.371 GB, free: 5.266 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.43e-05/1.015, allocations: 93.03 kB / 1.371 GB, free: 5.156 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/1.015, allocations: 4 kB / 1.371 GB, free: 5.152 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/1.015, allocations: 19.98 kB / 1.371 GB, free: 5.133 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.982e-05/1.015, allocations: 7.984 kB / 1.371 GB, free: 5.125 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/1.015, allocations: 8 kB / 1.371 GB, free: 5.117 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.989e-05/1.015, allocations: 75.28 kB / 1.371 GB, free: 5.043 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.015, allocations: 0 / 1.371 GB, free: 5.043 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001654/1.017, allocations: 0.5621 MB / 1.372 GB, free: 4.48 MB / 1.076 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.003307/1.02, allocations: 0.9439 MB / 1.373 GB, free: 3.508 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002017/1.02, allocations: 51.98 kB / 1.373 GB, free: 3.457 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.02, allocations: 0 / 1.373 GB, free: 3.457 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.74e-05/1.02, allocations: 35.92 kB / 1.373 GB, free: 3.422 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/1.021, allocations: 8 kB / 1.373 GB, free: 3.414 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/1.023, allocations: 1.566 MB / 1.374 GB, free: 1.77 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/1.023, allocations: 0.6851 MB / 1.375 GB, free: 1.059 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.43e-05/1.023, allocations: 24.53 kB / 1.375 GB, free: 1.035 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/1.023, allocations: 23.44 kB / 1.375 GB, free: 1.012 MB / 1.076 GB Notification: Performance of SimCode: time 9.32e-07/1.023, allocations: 0 / 1.375 GB, free: 1.012 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06251/1.086, allocations: 25.47 MB / 1.4 GB, free: 7.586 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.962/10.05, allocations: 3.938 kB / 1.4 GB, free: 7.586 MB / 1.107 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-10 Buildings_10_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.750633857678622] Failed to read output from testmodel.py, exit status != 0: 10.128072683699429 10.143064383 9.183266216 Calling exit ...