Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001607/0.001607, allocations: 111.3 kB / 17.6 MB, free: 4.668 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.001722/0.001722, allocations: 190.8 kB / 20.78 MB, free: 1.5 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.579/1.579, allocations: 225.6 MB / 249.4 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.922/2.922, allocations: 476.7 MB / 0.7629 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 63.89 kB / 1.107 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279/1.281, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.00267/1.283, allocations: 1.276 MB / 1.273 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2135/1.497, allocations: 138.1 MB / 1.408 GB, free: 1.367 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/1.497, allocations: 1.25 kB / 1.408 GB, free: 1.367 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 3.184e-05/1.497, allocations: 7.922 kB / 1.408 GB, free: 1.359 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 6.602e-05/1.497, allocations: 4.719 kB / 1.408 GB, free: 1.355 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/1.499, allocations: 469.1 kB / 1.408 GB, free: 1.023 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/1.499, allocations: 31.52 kB / 1.408 GB, free: 1.012 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/1.499, allocations: 10.88 kB / 1.408 GB, free: 1.004 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 4.866e-05/1.499, allocations: 18.25 kB / 1.408 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 8.267e-05/1.499, allocations: 23.66 kB / 1.408 GB, free: 0.9805 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/1.499, allocations: 1.406 kB / 1.408 GB, free: 0.9805 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/1.501, allocations: 0.8322 MB / 1.409 GB, free: 0.5469 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/1.501, allocations: 9.797 kB / 1.409 GB, free: 0.5391 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/1.501, allocations: 15.75 kB / 1.409 GB, free: 0.5312 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0008006/1.502, allocations: 446.3 kB / 1.409 GB, free: 256 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.502, allocations: 0 / 1.409 GB, free: 256 kB / 1.092 GB Notification: Performance of FrontEnd: time 2.394e-06/1.502, allocations: 0 / 1.409 GB, free: 256 kB / 1.092 GB Notification: Performance of Transformations before backend: time 1.647e-05/1.502, allocations: 9.391 kB / 1.409 GB, free: 248 kB / 1.092 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.0007843/1.502, allocations: 368.1 kB / 1.41 GB, free: 15.86 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/1.503, allocations: 10.22 kB / 1.41 GB, free: 15.86 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.196e-05/1.503, allocations: 32.03 kB / 1.41 GB, free: 15.82 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002471/1.503, allocations: 13.28 kB / 1.41 GB, free: 15.82 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/1.503, allocations: 169.4 kB / 1.41 GB, free: 15.62 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/1.503, allocations: 1.625 kB / 1.41 GB, free: 15.62 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/1.503, allocations: 11.94 kB / 1.41 GB, free: 15.61 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/1.503, allocations: 58.42 kB / 1.41 GB, free: 15.56 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.503, allocations: 3.938 kB / 1.41 GB, free: 15.55 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/1.503, allocations: 4.969 kB / 1.41 GB, free: 15.55 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/1.503, allocations: 5.234 kB / 1.41 GB, free: 15.55 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.789e-05/1.503, allocations: 13.3 kB / 1.41 GB, free: 15.54 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002484/1.504, allocations: 169.7 kB / 1.41 GB, free: 15.34 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/1.504, allocations: 59.17 kB / 1.41 GB, free: 15.29 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/1.504, allocations: 14.94 kB / 1.41 GB, free: 15.28 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01202/1.516, allocations: 3.203 MB / 1.413 GB, free: 13.7 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/1.516, allocations: 43.48 kB / 1.413 GB, free: 13.64 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 2.214e-06/1.516, allocations: 0 / 1.413 GB, free: 13.64 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.04372/1.56, allocations: 15 MB / 1.428 GB, free: 4.008 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/1.56, allocations: 51.41 kB / 1.428 GB, free: 3.945 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.045e-05/1.56, allocations: 89.86 kB / 1.428 GB, free: 3.848 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/1.56, allocations: 33.7 kB / 1.428 GB, free: 3.809 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/1.56, allocations: 80.14 kB / 1.428 GB, free: 3.727 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/1.56, allocations: 39.64 kB / 1.428 GB, free: 3.688 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/1.56, allocations: 37.7 kB / 1.428 GB, free: 3.645 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.56, allocations: 318.9 kB / 1.429 GB, free: 3.324 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.806e-05/1.56, allocations: 23.98 kB / 1.429 GB, free: 3.301 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.946e-05/1.56, allocations: 27.98 kB / 1.429 GB, free: 3.273 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/1.56, allocations: 60.8 kB / 1.429 GB, free: 3.211 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/1.56, allocations: 0 / 1.429 GB, free: 3.211 MB / 1.107 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002324/1.561, allocations: 105.4 kB / 1.429 GB, free: 3.105 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.561, allocations: 10.34 kB / 1.429 GB, free: 3.098 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/1.561, allocations: 0 / 1.429 GB, free: 3.098 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/1.561, allocations: 0 / 1.429 GB, free: 3.098 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/1.561, allocations: 35.92 kB / 1.429 GB, free: 3.062 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/1.561, allocations: 0 / 1.429 GB, free: 3.062 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.479e-05/1.561, allocations: 0 / 1.429 GB, free: 3.062 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/1.561, allocations: 8 kB / 1.429 GB, free: 3.055 MB / 1.107 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.0001066/1.561, allocations: 121.7 kB / 1.429 GB, free: 2.926 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/1.561, allocations: 4 kB / 1.429 GB, free: 2.922 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/1.561, allocations: 133.4 kB / 1.429 GB, free: 2.781 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.561, allocations: 4 kB / 1.429 GB, free: 2.777 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.561, allocations: 4 kB / 1.429 GB, free: 2.773 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.561, allocations: 0 / 1.429 GB, free: 2.773 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/1.561, allocations: 177.6 kB / 1.429 GB, free: 2.551 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.561, allocations: 0 / 1.429 GB, free: 2.551 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/1.561, allocations: 27.98 kB / 1.429 GB, free: 2.523 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/1.561, allocations: 0 / 1.429 GB, free: 2.523 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/1.561, allocations: 4 kB / 1.429 GB, free: 2.52 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/1.562, allocations: 0 / 1.429 GB, free: 2.52 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/1.562, allocations: 4 kB / 1.429 GB, free: 2.516 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/1.562, allocations: 160.9 kB / 1.43 GB, free: 2.34 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/1.562, allocations: 93.09 kB / 1.43 GB, free: 2.23 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/1.562, allocations: 0 / 1.43 GB, free: 2.23 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/1.562, allocations: 11.98 kB / 1.43 GB, free: 2.219 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/1.562, allocations: 12 kB / 1.43 GB, free: 2.207 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/1.562, allocations: 7.984 kB / 1.43 GB, free: 2.199 MB / 1.107 GB Notification: Performance of sorting global known variables: time 4.691e-05/1.562, allocations: 75.28 kB / 1.43 GB, free: 2.125 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/1.562, allocations: 0 / 1.43 GB, free: 2.125 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002202/1.564, allocations: 0.5699 MB / 1.43 GB, free: 1.555 MB / 1.107 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.003654/1.568, allocations: 0.9368 MB / 1.431 GB, free: 0.5898 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002297/1.568, allocations: 59.97 kB / 1.431 GB, free: 0.5312 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.568, allocations: 4 kB / 1.431 GB, free: 0.5273 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 6.625e-05/1.568, allocations: 31.92 kB / 1.431 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/1.569, allocations: 11.23 kB / 1.431 GB, free: 500 kB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/1.571, allocations: 1.555 MB / 1.433 GB, free: 14.86 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/1.571, allocations: 0.6889 MB / 1.434 GB, free: 14.14 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 9.094e-05/1.571, allocations: 24.55 kB / 1.434 GB, free: 14.12 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/1.571, allocations: 23.42 kB / 1.434 GB, free: 14.09 MB / 1.123 GB Notification: Performance of SimCode: time 8.31e-07/1.571, allocations: 0 / 1.434 GB, free: 14.09 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07385/1.645, allocations: 25.44 MB / 1.458 GB, free: 4.699 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.697/10.34, allocations: 13.69 kB / 1.458 GB, free: 4.691 MB / 1.139 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.733417404990178] Failed to read output from testmodel.py, exit status != 0: 10.422525258996757 10.446175267 8.93982265 Calling exit ...