Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_10_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.007048/0.007047, allocations: 97.92 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 194.9 kB / 16.68 MB, free: 5.969 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.532/2.532, allocations: 437 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 63.91 kB / 1.018 GB, free: 9.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8282/0.8301, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002239/0.8324, allocations: 1.256 MB / 1.167 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1603/0.9927, allocations: 137.7 MB / 1.302 GB, free: 8.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.9928, allocations: 0 / 1.302 GB, free: 8.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.242e-05/0.9928, allocations: 0 / 1.302 GB, free: 8.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.398e-05/0.9929, allocations: 7.938 kB / 1.302 GB, free: 8.242 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.9942, allocations: 466.2 kB / 1.302 GB, free: 7.785 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.466e-05/0.9943, allocations: 39.91 kB / 1.302 GB, free: 7.746 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.528e-05/0.9943, allocations: 7.984 kB / 1.302 GB, free: 7.738 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.569e-05/0.9943, allocations: 19.94 kB / 1.302 GB, free: 7.719 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.08e-05/0.9944, allocations: 23.91 kB / 1.302 GB, free: 7.695 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.9944, allocations: 0 / 1.302 GB, free: 7.695 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.9959, allocations: 0.8232 MB / 1.303 GB, free: 6.871 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.9959, allocations: 7.984 kB / 1.303 GB, free: 6.863 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.996, allocations: 19.92 kB / 1.303 GB, free: 6.844 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006097/0.9966, allocations: 442.8 kB / 1.304 GB, free: 6.414 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.9966, allocations: 3.938 kB / 1.304 GB, free: 6.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9966, allocations: 0 / 1.304 GB, free: 6.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.9966, allocations: 4 kB / 1.304 GB, free: 6.406 MB / 1.029 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.0005323/0.9972, allocations: 375.2 kB / 1.304 GB, free: 5.992 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.9972, allocations: 12.86 kB / 1.304 GB, free: 5.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.258e-05/0.9973, allocations: 46.73 kB / 1.304 GB, free: 5.926 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.9975, allocations: 8.938 kB / 1.304 GB, free: 5.918 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.9976, allocations: 160.4 kB / 1.304 GB, free: 5.723 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.9976, allocations: 384 / 1.304 GB, free: 5.723 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.9976, allocations: 15.89 kB / 1.304 GB, free: 5.707 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.9978, allocations: 61.67 kB / 1.304 GB, free: 5.641 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.9978, allocations: 0 / 1.304 GB, free: 5.641 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.9978, allocations: 0 / 1.304 GB, free: 5.641 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.9978, allocations: 0 / 1.304 GB, free: 5.641 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.097e-05/0.9979, allocations: 27.91 kB / 1.304 GB, free: 5.613 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/0.9981, allocations: 165.6 kB / 1.304 GB, free: 5.402 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.9982, allocations: 54.5 kB / 1.305 GB, free: 5.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.26e-05/0.9983, allocations: 16.84 kB / 1.305 GB, free: 5.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01131/1.01, allocations: 3.201 MB / 1.308 GB, free: 2.023 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/1.01, allocations: 38.5 kB / 1.308 GB, free: 1.977 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.794e-06/1.01, allocations: 0 / 1.308 GB, free: 1.977 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0431/1.053, allocations: 15 MB / 1.322 GB, free: 2.824 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/1.053, allocations: 55.41 kB / 1.322 GB, free: 2.758 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.241e-05/1.053, allocations: 89.86 kB / 1.322 GB, free: 2.66 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/1.053, allocations: 29.7 kB / 1.322 GB, free: 2.625 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.911e-05/1.053, allocations: 84.14 kB / 1.323 GB, free: 2.539 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/1.053, allocations: 43.58 kB / 1.323 GB, free: 2.496 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/1.053, allocations: 29.7 kB / 1.323 GB, free: 2.461 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.053, allocations: 326.9 kB / 1.323 GB, free: 2.133 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.375e-05/1.053, allocations: 19.98 kB / 1.323 GB, free: 2.113 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-05/1.053, allocations: 23.98 kB / 1.323 GB, free: 2.09 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/1.054, allocations: 57.73 kB / 1.323 GB, free: 2.031 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/1.054, allocations: 0 / 1.323 GB, free: 2.031 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002382/1.054, allocations: 110.6 kB / 1.323 GB, free: 1.918 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.054, allocations: 8 kB / 1.323 GB, free: 1.91 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.054, allocations: 4 kB / 1.323 GB, free: 1.906 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/1.054, allocations: 0 / 1.323 GB, free: 1.906 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/1.054, allocations: 27.98 kB / 1.323 GB, free: 1.879 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/1.054, allocations: 0 / 1.323 GB, free: 1.879 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/1.054, allocations: 4 kB / 1.323 GB, free: 1.875 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/1.054, allocations: 7.938 kB / 1.323 GB, free: 1.867 MB / 1.045 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.112e-05/1.054, allocations: 121.7 kB / 1.323 GB, free: 1.738 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/1.054, allocations: 7.953 kB / 1.323 GB, free: 1.73 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/1.054, allocations: 121.5 kB / 1.323 GB, free: 1.598 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/1.054, allocations: 4 kB / 1.323 GB, free: 1.594 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.054, allocations: 0 / 1.323 GB, free: 1.594 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/1.054, allocations: 3.984 kB / 1.323 GB, free: 1.59 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/1.055, allocations: 177.6 kB / 1.324 GB, free: 1.367 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/1.055, allocations: 3.984 kB / 1.324 GB, free: 1.363 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/1.055, allocations: 23.94 kB / 1.324 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/1.055, allocations: 0 / 1.324 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/1.055, allocations: 7.984 kB / 1.324 GB, free: 1.332 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/1.055, allocations: 4 kB / 1.324 GB, free: 1.328 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.055, allocations: 4 kB / 1.324 GB, free: 1.324 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/1.055, allocations: 156.9 kB / 1.324 GB, free: 1.152 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.891e-05/1.055, allocations: 93.08 kB / 1.324 GB, free: 1.043 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/1.055, allocations: 0 / 1.324 GB, free: 1.043 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/1.055, allocations: 12 kB / 1.324 GB, free: 1.031 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/1.055, allocations: 11.98 kB / 1.324 GB, free: 1.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/1.055, allocations: 8 kB / 1.324 GB, free: 1.012 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.139e-05/1.055, allocations: 75.28 kB / 1.324 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/1.055, allocations: 0 / 1.324 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001569/1.057, allocations: 0.5699 MB / 1.325 GB, free: 376 kB / 1.045 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.003494/1.061, allocations: 0.9341 MB / 1.325 GB, free: 15.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000177/1.061, allocations: 71.91 kB / 1.326 GB, free: 15.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.061, allocations: 0 / 1.326 GB, free: 15.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.148e-05/1.061, allocations: 39.92 kB / 1.326 GB, free: 15.3 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/1.061, allocations: 8 kB / 1.326 GB, free: 15.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/1.063, allocations: 1.554 MB / 1.327 GB, free: 13.66 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/1.063, allocations: 0.6846 MB / 1.328 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.065e-05/1.064, allocations: 28.53 kB / 1.328 GB, free: 12.92 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.506e-05/1.064, allocations: 23.38 kB / 1.328 GB, free: 12.89 MB / 1.061 GB Notification: Performance of SimCode: time 2.2e-07/1.064, allocations: 0 / 1.328 GB, free: 12.89 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05493/1.119, allocations: 25.44 MB / 1.353 GB, free: 3.496 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.649/9.768, allocations: 6.25 kB / 1.353 GB, free: 3.492 MB / 1.076 GB (rm -f Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1)