Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 186.8 kB / 16.66 MB, free: 6.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.8/2.8, allocations: 469.4 MB / 0.7421 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 64.12 kB / 1.064 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3095, allocations: 159.1 MB / 1.22 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.00232/0.3118, allocations: 1.257 MB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7956/1.107, allocations: 137.7 MB / 1.355 GB, free: 7.871 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.118e-05/1.108, allocations: 1.562 kB / 1.355 GB, free: 7.871 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/1.108, allocations: 1.5 kB / 1.355 GB, free: 7.871 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.505e-05/1.108, allocations: 4.5 kB / 1.355 GB, free: 7.867 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002102/1.11, allocations: 459 kB / 1.356 GB, free: 7.711 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/1.11, allocations: 42.44 kB / 1.356 GB, free: 7.695 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.394e-05/1.11, allocations: 6.625 kB / 1.356 GB, free: 7.691 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.554e-05/1.11, allocations: 26.92 kB / 1.356 GB, free: 7.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.571e-05/1.11, allocations: 11.77 kB / 1.356 GB, free: 7.68 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/1.11, allocations: 1.344 kB / 1.356 GB, free: 7.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/1.113, allocations: 0.8291 MB / 1.357 GB, free: 7.48 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.434e-05/1.113, allocations: 13.33 kB / 1.357 GB, free: 7.473 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.885e-05/1.113, allocations: 17.77 kB / 1.357 GB, free: 7.465 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001297/1.114, allocations: 441.5 kB / 1.357 GB, free: 7.367 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.114, allocations: 4.875 kB / 1.357 GB, free: 7.363 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.703e-06/1.114, allocations: 0 / 1.357 GB, free: 7.363 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.592e-06/1.114, allocations: 0 / 1.357 GB, free: 7.363 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.0009792/1.115, allocations: 371.8 kB / 1.358 GB, free: 6.992 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/1.115, allocations: 13.19 kB / 1.358 GB, free: 6.988 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.882e-05/1.115, allocations: 39.44 kB / 1.358 GB, free: 6.945 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002943/1.116, allocations: 14 kB / 1.358 GB, free: 6.941 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/1.116, allocations: 167 kB / 1.358 GB, free: 6.742 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/1.116, allocations: 1.906 kB / 1.358 GB, free: 6.742 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/1.116, allocations: 15.17 kB / 1.358 GB, free: 6.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/1.116, allocations: 55.83 kB / 1.358 GB, free: 6.691 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/1.116, allocations: 0 / 1.358 GB, free: 6.691 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/1.116, allocations: 1.406 kB / 1.358 GB, free: 6.691 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/1.116, allocations: 1.312 kB / 1.358 GB, free: 6.691 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.265e-05/1.116, allocations: 23.16 kB / 1.358 GB, free: 6.684 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/1.116, allocations: 164.5 kB / 1.358 GB, free: 6.488 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/1.117, allocations: 53.53 kB / 1.358 GB, free: 6.453 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.942e-05/1.117, allocations: 25.39 kB / 1.358 GB, free: 6.434 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01346/1.13, allocations: 3.202 MB / 1.361 GB, free: 5.664 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.933e-05/1.13, allocations: 42.7 kB / 1.361 GB, free: 5.617 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 2.524e-06/1.13, allocations: 0 / 1.361 GB, free: 5.617 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.04712/1.177, allocations: 14.99 MB / 1.376 GB, free: 1.574 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/1.177, allocations: 56.28 kB / 1.376 GB, free: 1.508 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.48e-05/1.177, allocations: 99.67 kB / 1.376 GB, free: 1.402 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/1.177, allocations: 26.95 kB / 1.376 GB, free: 1.371 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.227e-05/1.178, allocations: 80.14 kB / 1.376 GB, free: 1.289 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/1.178, allocations: 48.14 kB / 1.376 GB, free: 1.246 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/1.178, allocations: 32.58 kB / 1.376 GB, free: 1.219 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.178, allocations: 320.3 kB / 1.377 GB, free: 0.8984 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-05/1.178, allocations: 21.89 kB / 1.377 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.858e-05/1.178, allocations: 31.58 kB / 1.377 GB, free: 0.875 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/1.178, allocations: 59.14 kB / 1.377 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/1.178, allocations: 0 / 1.377 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002328/1.178, allocations: 114.1 kB / 1.377 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/1.178, allocations: 4.312 kB / 1.377 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/1.178, allocations: 1.375 kB / 1.377 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/1.178, allocations: 3.938 kB / 1.377 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/1.178, allocations: 27.59 kB / 1.377 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/1.178, allocations: 1.938 kB / 1.377 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/1.178, allocations: 4 kB / 1.377 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/1.178, allocations: 8.25 kB / 1.377 GB, free: 0.7539 MB / 1.061 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 8.792e-05/1.179, allocations: 116 kB / 1.377 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/1.179, allocations: 4.5 kB / 1.377 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/1.179, allocations: 119 kB / 1.377 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/1.179, allocations: 2.219 kB / 1.377 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.179, allocations: 7.938 kB / 1.377 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.179, allocations: 3.984 kB / 1.377 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/1.179, allocations: 182.2 kB / 1.377 GB, free: 328 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/1.179, allocations: 3.938 kB / 1.377 GB, free: 324 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/1.179, allocations: 19.75 kB / 1.377 GB, free: 324 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.034e-06/1.179, allocations: 5.109 kB / 1.377 GB, free: 320 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/1.179, allocations: 5.125 kB / 1.377 GB, free: 316 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.179, allocations: 1.188 kB / 1.377 GB, free: 316 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.179, allocations: 0 / 1.377 GB, free: 316 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/1.18, allocations: 165.5 kB / 1.377 GB, free: 188 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.388e-05/1.18, allocations: 93.47 kB / 1.377 GB, free: 80 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/1.18, allocations: 1.031 kB / 1.377 GB, free: 80 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/1.18, allocations: 12.69 kB / 1.377 GB, free: 76 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/1.18, allocations: 8.984 kB / 1.378 GB, free: 72 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/1.18, allocations: 7.656 kB / 1.378 GB, free: 68 kB / 1.061 GB Notification: Performance of sorting global known variables: time 5.672e-05/1.18, allocations: 84.8 kB / 1.378 GB, free: 15.98 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.805e-06/1.18, allocations: 0 / 1.378 GB, free: 15.98 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002413/1.182, allocations: 0.5646 MB / 1.378 GB, free: 15.95 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.005248/1.188, allocations: 0.9343 MB / 1.379 GB, free: 15.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002261/1.188, allocations: 64.02 kB / 1.379 GB, free: 15.21 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.188, allocations: 3.984 kB / 1.379 GB, free: 15.2 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.66e-05/1.188, allocations: 34.59 kB / 1.379 GB, free: 15.19 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/1.188, allocations: 12.64 kB / 1.379 GB, free: 15.18 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/1.191, allocations: 1.54 MB / 1.381 GB, free: 13.8 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/1.191, allocations: 0.6898 MB / 1.381 GB, free: 13.1 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.017e-05/1.191, allocations: 20.55 kB / 1.381 GB, free: 13.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/1.191, allocations: 27.38 kB / 1.381 GB, free: 13.07 MB / 1.076 GB Notification: Performance of SimCode: time 1.813e-06/1.191, allocations: 0 / 1.381 GB, free: 13.07 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05556/1.247, allocations: 25.46 MB / 1.406 GB, free: 6.539 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/9.49, allocations: 18.94 kB / 1.406 GB, free: 6.523 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1)