Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001355/0.001355, 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.001656/0.001656, allocations: 207.3 kB / 22.24 MB, free: 5.262 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: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.192/3.192, allocations: 0.4892 GB / 0.7944 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_12_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.002232/0.002232, allocations: 68.31 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3646, allocations: 176.1 MB / 1.325 GB, free: 2.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002648/0.3673, allocations: 1.273 MB / 1.326 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.164/0.5312, allocations: 120.9 MB / 1.444 GB, free: 7.758 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-05/0.5313, allocations: 0 / 1.444 GB, free: 7.758 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.5313, allocations: 3.984 kB / 1.444 GB, free: 7.754 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 5.809e-05/0.5313, allocations: 7.922 kB / 1.444 GB, free: 7.746 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.5329, allocations: 470.6 kB / 1.445 GB, free: 7.285 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 9.1e-05/0.533, allocations: 35.91 kB / 1.445 GB, free: 7.25 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.248e-05/0.533, allocations: 3.984 kB / 1.445 GB, free: 7.246 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 6.328e-05/0.5331, allocations: 23.88 kB / 1.445 GB, free: 7.223 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.684e-05/0.5332, allocations: 27.89 kB / 1.445 GB, free: 7.195 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.5332, allocations: 4 kB / 1.445 GB, free: 7.191 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.5349, allocations: 0.7919 MB / 1.446 GB, free: 6.398 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.535, allocations: 8 kB / 1.446 GB, free: 6.391 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 3.944e-05/0.535, allocations: 23.91 kB / 1.446 GB, free: 6.367 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0007913/0.5358, allocations: 435.1 kB / 1.446 GB, free: 5.941 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.5358, allocations: 11.94 kB / 1.446 GB, free: 5.93 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.165e-06/0.5358, allocations: 0 / 1.446 GB, free: 5.93 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.5358, allocations: 3.938 kB / 1.446 GB, free: 5.926 MB / 1.139 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.0006644/0.5365, allocations: 298.1 kB / 1.446 GB, free: 5.605 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.5365, allocations: 8.031 kB / 1.446 GB, free: 5.598 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.66e-05/0.5366, allocations: 38.75 kB / 1.446 GB, free: 5.551 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.5368, allocations: 8.938 kB / 1.446 GB, free: 5.543 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.5369, allocations: 106.5 kB / 1.447 GB, free: 5.414 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/0.5369, allocations: 12.38 kB / 1.447 GB, free: 5.402 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.5369, allocations: 3.938 kB / 1.447 GB, free: 5.398 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.5372, allocations: 142.7 kB / 1.447 GB, free: 5.234 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.5372, allocations: 0 / 1.447 GB, free: 5.234 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.5372, allocations: 0 / 1.447 GB, free: 5.234 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.5372, allocations: 0 / 1.447 GB, free: 5.234 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.378e-05/0.5373, allocations: 19.98 kB / 1.447 GB, free: 5.215 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.5375, allocations: 140.7 kB / 1.447 GB, free: 5.035 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.5376, allocations: 50.5 kB / 1.447 GB, free: 4.977 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.5377, allocations: 8.859 kB / 1.447 GB, free: 4.965 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01212/0.5498, allocations: 2.872 MB / 1.45 GB, free: 2.09 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.62e-05/0.5498, allocations: 38.5 kB / 1.45 GB, free: 2.043 MB / 1.139 GB Notification: Performance of pre-optimization done (n=7): time 1.864e-06/0.5498, allocations: 0 / 1.45 GB, free: 2.043 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.04491/0.5948, allocations: 14.92 MB / 1.464 GB, free: 2.988 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.5948, allocations: 51.41 kB / 1.464 GB, free: 2.926 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.937e-05/0.5949, allocations: 97.84 kB / 1.464 GB, free: 2.82 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.5949, allocations: 29.7 kB / 1.465 GB, free: 2.785 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.595, allocations: 84.27 kB / 1.465 GB, free: 2.699 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.294e-05/0.595, allocations: 39.64 kB / 1.465 GB, free: 2.66 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.5951, allocations: 33.72 kB / 1.465 GB, free: 2.621 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.5952, allocations: 318.8 kB / 1.465 GB, free: 2.301 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.728e-05/0.5953, allocations: 24 kB / 1.465 GB, free: 2.277 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.913e-05/0.5953, allocations: 27.98 kB / 1.465 GB, free: 2.25 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.5955, allocations: 64.66 kB / 1.465 GB, free: 2.188 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.5955, allocations: 3.938 kB / 1.465 GB, free: 2.184 MB / 1.154 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002193/0.5957, allocations: 97.69 kB / 1.465 GB, free: 2.082 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.5957, allocations: 4 kB / 1.465 GB, free: 2.078 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5957, allocations: 0 / 1.465 GB, free: 2.078 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.5957, allocations: 4 kB / 1.465 GB, free: 2.074 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.5959, allocations: 27.98 kB / 1.465 GB, free: 2.047 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.5959, allocations: 4 kB / 1.465 GB, free: 2.043 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.784e-05/0.5959, allocations: 7.938 kB / 1.465 GB, free: 2.035 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.5959, allocations: 11.94 kB / 1.465 GB, free: 2.023 MB / 1.154 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 9.279e-05/0.596, allocations: 118.3 kB / 1.465 GB, free: 1.898 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/0.5961, allocations: 7.953 kB / 1.465 GB, free: 1.891 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.5963, allocations: 129.4 kB / 1.465 GB, free: 1.758 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.5963, allocations: 0 / 1.465 GB, free: 1.758 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5963, allocations: 0 / 1.465 GB, free: 1.758 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5963, allocations: 0 / 1.465 GB, free: 1.758 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.5965, allocations: 144.7 kB / 1.466 GB, free: 1.574 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5965, allocations: 3.938 kB / 1.466 GB, free: 1.57 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.5966, allocations: 31.92 kB / 1.466 GB, free: 1.539 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5966, allocations: 0 / 1.466 GB, free: 1.539 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.5966, allocations: 0 / 1.466 GB, free: 1.539 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.5966, allocations: 0 / 1.466 GB, free: 1.539 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5966, allocations: 8 kB / 1.466 GB, free: 1.531 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.597, allocations: 157.2 kB / 1.466 GB, free: 1.359 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.597, allocations: 12.03 kB / 1.466 GB, free: 1.348 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.597, allocations: 4 kB / 1.466 GB, free: 1.344 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.5972, allocations: 11.98 kB / 1.466 GB, free: 1.332 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.5972, allocations: 15.92 kB / 1.466 GB, free: 1.316 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.5972, allocations: 4 kB / 1.466 GB, free: 1.312 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.397e-05/0.5973, allocations: 75.28 kB / 1.466 GB, free: 1.238 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.5973, allocations: 4.094 kB / 1.466 GB, free: 1.234 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002105/0.5994, allocations: 0.5699 MB / 1.466 GB, free: 0.6641 MB / 1.154 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.004438/0.6038, allocations: 0.9478 MB / 1.467 GB, free: 15.69 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.604, allocations: 63.86 kB / 1.467 GB, free: 15.62 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.6041, allocations: 4 kB / 1.467 GB, free: 15.62 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 6.97e-05/0.6041, allocations: 31.92 kB / 1.468 GB, free: 15.59 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.6043, allocations: 8 kB / 1.468 GB, free: 15.58 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.6071, allocations: 1.546 MB / 1.469 GB, free: 13.95 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.342e-05/0.6072, allocations: 75.34 kB / 1.469 GB, free: 13.86 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 9.143e-05/0.6073, allocations: 28.52 kB / 1.469 GB, free: 13.83 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.6073, allocations: 23.44 kB / 1.469 GB, free: 13.81 MB / 1.17 GB Notification: Performance of SimCode: time 1.382e-06/0.6073, allocations: 3.938 kB / 1.469 GB, free: 13.8 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0749/0.6822, allocations: 26.03 MB / 1.495 GB, free: 3.887 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13, allocations: 9.922 kB / 1.495 GB, free: 3.883 MB / 1.186 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-10 Buildings_12_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 23.146012535318732] Failed to read output from testmodel.py, exit status != 0: 13.123844189569354 13.151851005 12.610295891 Calling exit ...