Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_9_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.001525/0.001525, allocations: 108 kB / 15.61 MB, free: 148 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.002101/0.002101, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.415/2.415, allocations: 390.2 MB / 0.6647 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 59.91 kB / 0.8126 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5732/0.5746, allocations: 140.4 MB / 0.9497 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002287/0.577, allocations: 1.256 MB / 0.9509 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1403/0.7172, allocations: 137.7 MB / 1.085 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.79e-05/0.7173, allocations: 0 / 1.085 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.35e-05/0.7174, allocations: 3.938 kB / 1.085 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.119e-05/0.7174, allocations: 3.984 kB / 1.085 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.7189, allocations: 470.3 kB / 1.086 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.723e-05/0.719, allocations: 35.86 kB / 1.086 GB, free: 5.996 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.719, allocations: 4 kB / 1.086 GB, free: 5.992 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.138e-05/0.7191, allocations: 23.97 kB / 1.086 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.352e-05/0.7192, allocations: 15.92 kB / 1.086 GB, free: 5.953 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.7192, allocations: 4 kB / 1.086 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.7207, allocations: 0.8153 MB / 1.087 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.797e-05/0.7207, allocations: 7.984 kB / 1.087 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.7207, allocations: 19.92 kB / 1.087 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000628/0.7214, allocations: 449.3 kB / 1.087 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7214, allocations: 0 / 1.087 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7214, allocations: 0 / 1.087 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.7214, allocations: 0 / 1.087 GB, free: 4.668 MB / 0.8419 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.0005107/0.7219, allocations: 375.4 kB / 1.088 GB, free: 4.254 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.722, allocations: 8.031 kB / 1.088 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.722, allocations: 42.75 kB / 1.088 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.7222, allocations: 12.94 kB / 1.088 GB, free: 4.184 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.493e-05/0.7223, allocations: 164.4 kB / 1.088 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.7223, allocations: 8.25 kB / 1.088 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.7223, allocations: 15.84 kB / 1.088 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.7225, allocations: 49.67 kB / 1.088 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.7225, allocations: 4 kB / 1.088 GB, free: 3.902 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.7225, allocations: 0 / 1.088 GB, free: 3.902 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.7225, allocations: 0 / 1.088 GB, free: 3.902 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.621e-05/0.7226, allocations: 19.98 kB / 1.088 GB, free: 3.883 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.7228, allocations: 161.7 kB / 1.088 GB, free: 3.676 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.7229, allocations: 62.42 kB / 1.088 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.115e-05/0.7229, allocations: 20.84 kB / 1.088 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01134/0.7343, allocations: 3.171 MB / 1.091 GB, free: 324 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.7343, allocations: 34.56 kB / 1.091 GB, free: 280 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.7343, allocations: 3.938 kB / 1.091 GB, free: 276 kB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.04324/0.7776, allocations: 14.86 MB / 1.106 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.7776, allocations: 55.41 kB / 1.106 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.197e-05/0.7777, allocations: 93.84 kB / 1.106 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.7777, allocations: 37.83 kB / 1.106 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.916e-05/0.7778, allocations: 80.14 kB / 1.106 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.7778, allocations: 39.39 kB / 1.106 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.7779, allocations: 29.72 kB / 1.106 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.778, allocations: 322.8 kB / 1.106 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.994e-05/0.778, allocations: 23.94 kB / 1.106 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-05/0.7781, allocations: 23.98 kB / 1.106 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.7782, allocations: 60.84 kB / 1.106 GB, free: 468 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.7782, allocations: 4 kB / 1.106 GB, free: 464 kB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002146/0.7785, allocations: 105 kB / 1.107 GB, free: 356 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.7785, allocations: 4 kB / 1.107 GB, free: 352 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.7785, allocations: 8 kB / 1.107 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.7785, allocations: 0 / 1.107 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.7786, allocations: 31.92 kB / 1.107 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.7786, allocations: 0 / 1.107 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.694e-05/0.7787, allocations: 0 / 1.107 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.7787, allocations: 8 kB / 1.107 GB, free: 304 kB / 0.8575 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.137e-05/0.7788, allocations: 125.8 kB / 1.107 GB, free: 168 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.7788, allocations: 4 kB / 1.107 GB, free: 164 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.7791, allocations: 125.4 kB / 1.107 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.7791, allocations: 4 kB / 1.107 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.7791, allocations: 0 / 1.107 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.7791, allocations: 0 / 1.107 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.7793, allocations: 181.6 kB / 1.107 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.7793, allocations: 0 / 1.107 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.7794, allocations: 27.98 kB / 1.107 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.7795, allocations: 0 / 1.107 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.7795, allocations: 0 / 1.107 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.7795, allocations: 4 kB / 1.107 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.7795, allocations: 0 / 1.107 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.7798, allocations: 160.8 kB / 1.107 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-05/0.7799, allocations: 93.05 kB / 1.107 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.7799, allocations: 4 kB / 1.107 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.78, allocations: 11.98 kB / 1.107 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.7801, allocations: 11.98 kB / 1.107 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.7801, allocations: 4 kB / 1.107 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.032e-05/0.7801, allocations: 75.28 kB / 1.107 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7801, allocations: 0 / 1.107 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001561/0.7817, allocations: 0.5703 MB / 1.108 GB, free: 14.81 MB / 0.8731 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.003625/0.7853, allocations: 0.9326 MB / 1.109 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001788/0.7855, allocations: 71.91 kB / 1.109 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7855, allocations: 0 / 1.109 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.594e-05/0.7856, allocations: 39.92 kB / 1.109 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.7858, allocations: 8 kB / 1.109 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.788, allocations: 1.553 MB / 1.111 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.7882, allocations: 0.6846 MB / 1.111 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.7884, allocations: 24.55 kB / 1.111 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.7884, allocations: 23.44 kB / 1.111 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.7884, allocations: 0 / 1.111 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05442/0.8428, allocations: 25.4 MB / 1.136 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.184/9.026, allocations: 4.062 kB / 1.136 GB, free: 1.969 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1)