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.0008775/0.0008775, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008531/0.0008531, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8469/0.8469, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.678/1.678, allocations: 377.8 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.9809 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.308e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001709/0.001732, allocations: 1.278 MB / 0.9822 GB, free: 1.328 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.5219/0.5236, allocations: 120.9 MB / 1.1 GB, free: 30.03 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.505e-05/0.5236, allocations: 0 / 1.1 GB, free: 30.03 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.5237, allocations: 3.594 kB / 1.1 GB, free: 30.03 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 4.459e-05/0.5237, allocations: 4.469 kB / 1.1 GB, free: 30.03 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009442/0.5246, allocations: 469.9 kB / 1.101 GB, free: 29.87 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.242e-05/0.5247, allocations: 37.59 kB / 1.101 GB, free: 29.86 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.868e-05/0.5248, allocations: 10.88 kB / 1.101 GB, free: 29.85 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.452e-05/0.5248, allocations: 27.83 kB / 1.101 GB, free: 29.84 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.167e-05/0.5249, allocations: 14.38 kB / 1.101 GB, free: 29.84 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.5249, allocations: 2.188 kB / 1.101 GB, free: 29.84 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009306/0.5258, allocations: 0.7968 MB / 1.102 GB, free: 29.67 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.5259, allocations: 14.83 kB / 1.102 GB, free: 29.66 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.5259, allocations: 18.14 kB / 1.102 GB, free: 29.66 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.000586/0.5265, allocations: 0.5633 MB / 1.102 GB, free: 29.5 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.5265, allocations: 0 / 1.102 GB, free: 29.5 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5265, allocations: 1.438 kB / 1.102 GB, free: 29.5 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.5265, allocations: 0 / 1.102 GB, free: 29.5 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.0003888/0.5269, allocations: 293 kB / 1.102 GB, free: 29.22 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.5269, allocations: 10.09 kB / 1.102 GB, free: 29.22 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.365e-05/0.5269, allocations: 37.47 kB / 1.102 GB, free: 29.18 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.527, allocations: 13.61 kB / 1.103 GB, free: 29.17 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.471e-05/0.5271, allocations: 108.9 kB / 1.103 GB, free: 29.05 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.5271, allocations: 5.766 kB / 1.103 GB, free: 29.04 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.5271, allocations: 8.125 kB / 1.103 GB, free: 29.04 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.5272, allocations: 128.5 kB / 1.103 GB, free: 28.91 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.5273, allocations: 3.938 kB / 1.103 GB, free: 28.91 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.5273, allocations: 5.312 kB / 1.103 GB, free: 28.9 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.5273, allocations: 1.188 kB / 1.103 GB, free: 28.9 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.717e-05/0.5273, allocations: 13.91 kB / 1.103 GB, free: 28.9 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.5274, allocations: 140.2 kB / 1.103 GB, free: 28.73 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.477e-05/0.5275, allocations: 57.92 kB / 1.103 GB, free: 28.7 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.212e-05/0.5275, allocations: 21.23 kB / 1.103 GB, free: 28.68 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005656/0.5332, allocations: 2.867 MB / 1.106 GB, free: 28.38 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.5332, allocations: 33.98 kB / 1.106 GB, free: 28.34 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.5332, allocations: 0 / 1.106 GB, free: 28.34 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.02262/0.5558, allocations: 14.93 MB / 1.12 GB, free: 26.43 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.5558, allocations: 53.23 kB / 1.12 GB, free: 26.36 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.422e-05/0.5559, allocations: 96.83 kB / 1.121 GB, free: 26.26 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.5559, allocations: 26.67 kB / 1.121 GB, free: 26.23 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.977e-06/0.5559, allocations: 80.8 kB / 1.121 GB, free: 26.15 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.5559, allocations: 43.73 kB / 1.121 GB, free: 26.11 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.556, allocations: 30.83 kB / 1.121 GB, free: 26.09 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.421e-05/0.556, allocations: 318.4 kB / 1.121 GB, free: 25.77 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.113e-05/0.556, allocations: 19.64 kB / 1.121 GB, free: 25.77 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.5561, allocations: 32.56 kB / 1.121 GB, free: 25.75 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.765e-05/0.5561, allocations: 61.19 kB / 1.121 GB, free: 25.72 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5561, allocations: 1.125 kB / 1.121 GB, free: 25.72 MB / 0.9948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001335/0.5563, allocations: 107.3 kB / 1.121 GB, free: 25.66 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.5563, allocations: 6.219 kB / 1.121 GB, free: 25.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.5563, allocations: 1.469 kB / 1.121 GB, free: 25.66 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.5563, allocations: 0.9375 kB / 1.121 GB, free: 25.66 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.302e-05/0.5564, allocations: 25.88 kB / 1.121 GB, free: 25.66 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.5564, allocations: 1.953 kB / 1.121 GB, free: 25.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/0.5564, allocations: 4.875 kB / 1.121 GB, free: 25.66 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.5564, allocations: 3.219 kB / 1.121 GB, free: 25.66 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.404e-05/0.5565, allocations: 117.8 kB / 1.121 GB, free: 25.54 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.5565, allocations: 11.94 kB / 1.121 GB, free: 25.53 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.5567, allocations: 125 kB / 1.122 GB, free: 25.46 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.5567, allocations: 5.094 kB / 1.122 GB, free: 25.45 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5567, allocations: 2 kB / 1.122 GB, free: 25.45 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5567, allocations: 0.7969 kB / 1.122 GB, free: 25.45 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.202e-05/0.5567, allocations: 148.1 kB / 1.122 GB, free: 25.28 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.5567, allocations: 5.031 kB / 1.122 GB, free: 25.28 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.564e-05/0.5568, allocations: 26.69 kB / 1.122 GB, free: 25.27 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.5568, allocations: 1.125 kB / 1.122 GB, free: 25.27 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.5568, allocations: 6 kB / 1.122 GB, free: 25.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5568, allocations: 0 / 1.122 GB, free: 25.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5568, allocations: 1.094 kB / 1.122 GB, free: 25.27 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.557, allocations: 152.6 kB / 1.122 GB, free: 25.17 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.5571, allocations: 23.91 kB / 1.122 GB, free: 25.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.5571, allocations: 2.344 kB / 1.122 GB, free: 25.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.5571, allocations: 14.69 kB / 1.122 GB, free: 25.15 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.5572, allocations: 11.89 kB / 1.122 GB, free: 25.15 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.5572, allocations: 5.391 kB / 1.122 GB, free: 25.15 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.006e-05/0.5572, allocations: 81.33 kB / 1.122 GB, free: 25.07 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.5572, allocations: 0 / 1.122 GB, free: 25.07 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001408/0.5586, allocations: 0.5635 MB / 1.123 GB, free: 25.04 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.002214/0.5608, allocations: 0.9691 MB / 1.123 GB, free: 24.35 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.5609, allocations: 64.88 kB / 1.124 GB, free: 24.34 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5609, allocations: 5.125 kB / 1.124 GB, free: 24.33 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 3.574e-05/0.561, allocations: 38.69 kB / 1.124 GB, free: 24.32 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.5611, allocations: 13.38 kB / 1.124 GB, free: 24.31 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.5623, allocations: 1.478 MB / 1.125 GB, free: 23.03 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.562e-05/0.5624, allocations: 80.25 kB / 1.125 GB, free: 22.95 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 5.084e-05/0.5624, allocations: 28.77 kB / 1.125 GB, free: 22.93 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.5625, allocations: 21.09 kB / 1.125 GB, free: 22.93 MB / 0.9948 GB Notification: Performance of SimCode: time 4.51e-07/0.5625, allocations: 0 / 1.125 GB, free: 22.93 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04648/0.609, allocations: 26.2 MB / 1.151 GB, free: 16.46 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.923/7.532, allocations: 4.562 kB / 1.151 GB, free: 16.46 MB / 0.9948 GB " [Timeout remaining time 292] (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: 13.33049744926393] Failed to read output from testmodel.py, exit status != 0: 7.616296336054802 7.622936736 7.095018635 Calling exit ...