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.0009006/0.0009006, 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.0008671/0.0008671, 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.8665/0.8665, allocations: 177.2 MB / 202.8 MB, free: 5.543 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.662/1.662, allocations: 377.9 MB / 0.6221 GB, free: 8.629 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.703e-06/1.703e-06, allocations: 0 / 0.9809 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.057e-05, allocations: 6.219 kB / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001588/0.001609, allocations: 1.278 MB / 0.9822 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.5549/0.5565, allocations: 120.9 MB / 1.1 GB, free: 29.94 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.61e-05/0.5566, allocations: 0.5 kB / 1.1 GB, free: 29.94 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.191e-05/0.5566, allocations: 0 / 1.1 GB, free: 29.94 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 4.655e-05/0.5566, allocations: 8.469 kB / 1.1 GB, free: 29.94 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009623/0.5576, allocations: 469.2 kB / 1.101 GB, free: 29.77 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 7.842e-05/0.5577, allocations: 34.47 kB / 1.101 GB, free: 29.77 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.5577, allocations: 2.906 kB / 1.101 GB, free: 29.77 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.218e-05/0.5578, allocations: 35.72 kB / 1.101 GB, free: 29.75 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.624e-05/0.5578, allocations: 13.84 kB / 1.101 GB, free: 29.75 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.5578, allocations: 2.469 kB / 1.101 GB, free: 29.75 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000912/0.5587, allocations: 0.7995 MB / 1.102 GB, free: 29.57 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.5588, allocations: 9.984 kB / 1.102 GB, free: 29.57 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.5588, allocations: 21.53 kB / 1.102 GB, free: 29.56 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.000569/0.5594, allocations: 0.5602 MB / 1.102 GB, free: 29.41 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5594, allocations: 4 kB / 1.102 GB, free: 29.4 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5594, allocations: 0 / 1.102 GB, free: 29.4 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.5594, allocations: 0.9688 kB / 1.102 GB, free: 29.4 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.0004049/0.5598, allocations: 296.9 kB / 1.102 GB, free: 29.12 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.5598, allocations: 9.344 kB / 1.102 GB, free: 29.12 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.917e-05/0.5599, allocations: 33.77 kB / 1.102 GB, free: 29.08 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.56, allocations: 15.16 kB / 1.103 GB, free: 29.08 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.823e-05/0.56, allocations: 107.5 kB / 1.103 GB, free: 28.95 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.5601, allocations: 2.656 kB / 1.103 GB, free: 28.95 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.5601, allocations: 11.67 kB / 1.103 GB, free: 28.95 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.5602, allocations: 132.5 kB / 1.103 GB, free: 28.81 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.5602, allocations: 3.938 kB / 1.103 GB, free: 28.81 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.5602, allocations: 1.219 kB / 1.103 GB, free: 28.81 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5602, allocations: 1.125 kB / 1.103 GB, free: 28.81 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.923e-05/0.5603, allocations: 18.56 kB / 1.103 GB, free: 28.8 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.5604, allocations: 135.5 kB / 1.103 GB, free: 28.64 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.964e-05/0.5605, allocations: 55.42 kB / 1.103 GB, free: 28.61 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.418e-05/0.5605, allocations: 16.89 kB / 1.103 GB, free: 28.59 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006081/0.5666, allocations: 2.867 MB / 1.106 GB, free: 28.29 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.5666, allocations: 32.67 kB / 1.106 GB, free: 28.25 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.5666, allocations: 0 / 1.106 GB, free: 28.25 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.02384/0.5904, allocations: 14.93 MB / 1.12 GB, free: 26.34 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.5905, allocations: 52.41 kB / 1.12 GB, free: 26.27 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.039e-05/0.5905, allocations: 97.52 kB / 1.121 GB, free: 26.17 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.5905, allocations: 26.83 kB / 1.121 GB, free: 26.14 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.969e-06/0.5905, allocations: 85.33 kB / 1.121 GB, free: 26.05 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.5906, allocations: 43.41 kB / 1.121 GB, free: 26.02 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.5906, allocations: 29.73 kB / 1.121 GB, free: 26 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.968e-05/0.5906, allocations: 315.5 kB / 1.121 GB, free: 25.68 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.472e-05/0.5907, allocations: 23.05 kB / 1.121 GB, free: 25.68 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.916e-05/0.5907, allocations: 28.45 kB / 1.121 GB, free: 25.66 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.586e-05/0.5908, allocations: 57.83 kB / 1.121 GB, free: 25.64 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.5908, allocations: 0 / 1.121 GB, free: 25.64 MB / 0.9948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001424/0.5909, allocations: 109.1 kB / 1.121 GB, free: 25.58 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.5909, allocations: 4.938 kB / 1.121 GB, free: 25.58 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.591, allocations: 0 / 1.121 GB, free: 25.58 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.591, allocations: 5.094 kB / 1.121 GB, free: 25.57 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.669e-05/0.5911, allocations: 27.34 kB / 1.121 GB, free: 25.57 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.5911, allocations: 0.7969 kB / 1.121 GB, free: 25.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.61e-05/0.5911, allocations: 9.062 kB / 1.121 GB, free: 25.56 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.5911, allocations: 4.219 kB / 1.121 GB, free: 25.56 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.586e-05/0.5911, allocations: 112.9 kB / 1.121 GB, free: 25.45 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.5912, allocations: 12.16 kB / 1.121 GB, free: 25.44 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.5913, allocations: 132.8 kB / 1.122 GB, free: 25.36 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.5914, allocations: 1.219 kB / 1.122 GB, free: 25.36 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.5914, allocations: 1.062 kB / 1.122 GB, free: 25.36 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5914, allocations: 0.7969 kB / 1.122 GB, free: 25.36 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.028e-05/0.5914, allocations: 140.7 kB / 1.122 GB, free: 25.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.5914, allocations: 5.641 kB / 1.122 GB, free: 25.19 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.554e-05/0.5915, allocations: 26.36 kB / 1.122 GB, free: 25.19 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5915, allocations: 0.9375 kB / 1.122 GB, free: 25.19 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.5915, allocations: 2.828 kB / 1.122 GB, free: 25.19 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5915, allocations: 5.844 kB / 1.122 GB, free: 25.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5915, allocations: 0 / 1.122 GB, free: 25.18 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.5917, allocations: 156.4 kB / 1.122 GB, free: 25.08 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.249e-05/0.5918, allocations: 21.05 kB / 1.122 GB, free: 25.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.5918, allocations: 8.188 kB / 1.122 GB, free: 25.06 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.5919, allocations: 11.66 kB / 1.122 GB, free: 25.06 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/0.5919, allocations: 15.72 kB / 1.122 GB, free: 25.05 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.5919, allocations: 3.75 kB / 1.122 GB, free: 25.05 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.388e-05/0.5919, allocations: 80.98 kB / 1.122 GB, free: 24.98 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5919, allocations: 1.094 kB / 1.122 GB, free: 24.98 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002282/0.5942, allocations: 0.5635 MB / 1.123 GB, free: 24.95 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.00265/0.5969, allocations: 0.9732 MB / 1.123 GB, free: 24.25 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.597, allocations: 64 kB / 1.124 GB, free: 24.24 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.597, allocations: 0 / 1.124 GB, free: 24.24 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 3.982e-05/0.5971, allocations: 36.06 kB / 1.124 GB, free: 24.23 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.5972, allocations: 12.81 kB / 1.124 GB, free: 24.22 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.5987, allocations: 1.485 MB / 1.125 GB, free: 22.93 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.425e-05/0.5988, allocations: 72.34 kB / 1.125 GB, free: 22.86 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 6.985e-05/0.5988, allocations: 23.52 kB / 1.125 GB, free: 22.85 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.5989, allocations: 21.78 kB / 1.125 GB, free: 22.84 MB / 0.9948 GB Notification: Performance of SimCode: time 1.082e-06/0.5989, allocations: 0 / 1.125 GB, free: 22.84 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05706/0.656, allocations: 26.2 MB / 1.151 GB, free: 16.34 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.914/7.57, allocations: 10.08 kB / 1.151 GB, free: 16.34 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 11.80193708371371] Failed to read output from testmodel.py, exit status != 0: 7.65326982177794 7.660861875 7.099844658 Calling exit ...