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.001115/0.001115, allocations: 108 kB / 15.61 MB, free: 152 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.001111/0.001111, allocations: 194.6 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.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.624/2.624, allocations: 437.1 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 59.91 kB / 0.8693 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.623/0.6247, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.00268/0.6274, allocations: 1.254 MB / 1.019 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1404/0.7679, allocations: 137.7 MB / 1.153 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.768, allocations: 4 kB / 1.153 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.768, allocations: 4 kB / 1.153 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.207e-05/0.7681, allocations: 3.938 kB / 1.153 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.7695, allocations: 458.4 kB / 1.154 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.863e-05/0.7696, allocations: 47.83 kB / 1.154 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.7696, allocations: 0 / 1.154 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.874e-05/0.7697, allocations: 23.92 kB / 1.154 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.242e-05/0.7698, allocations: 23.97 kB / 1.154 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.7698, allocations: 0 / 1.154 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.7713, allocations: 0.8036 MB / 1.154 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.7713, allocations: 15.92 kB / 1.154 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.7714, allocations: 11.92 kB / 1.154 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006797/0.7721, allocations: 449.4 kB / 1.155 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7721, allocations: 0 / 1.155 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7721, allocations: 0 / 1.155 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.7721, allocations: 0 / 1.155 GB, free: 5.199 MB / 0.9044 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.0005396/0.7727, allocations: 375.4 kB / 1.155 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.7727, allocations: 8.031 kB / 1.155 GB, free: 4.777 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.415e-05/0.7727, allocations: 34.75 kB / 1.155 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.7729, allocations: 12.92 kB / 1.155 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.668e-05/0.773, allocations: 160.4 kB / 1.155 GB, free: 4.527 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.7731, allocations: 8.312 kB / 1.155 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.7731, allocations: 11.84 kB / 1.155 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.7733, allocations: 57.66 kB / 1.155 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.7733, allocations: 0 / 1.155 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.7733, allocations: 8 kB / 1.156 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.7733, allocations: 0 / 1.156 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.787e-05/0.7734, allocations: 15.98 kB / 1.156 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.7735, allocations: 169.6 kB / 1.156 GB, free: 4.207 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.7737, allocations: 58.44 kB / 1.156 GB, free: 4.141 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.024e-05/0.7737, allocations: 20.8 kB / 1.156 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01181/0.7855, allocations: 3.166 MB / 1.159 GB, free: 0.8555 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.7856, allocations: 38.55 kB / 1.159 GB, free: 0.8086 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 2.175e-06/0.7856, allocations: 0 / 1.159 GB, free: 0.8086 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.04466/0.8303, allocations: 14.86 MB / 1.173 GB, free: 1.797 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.8303, allocations: 55.41 kB / 1.173 GB, free: 1.73 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.926e-05/0.8304, allocations: 93.86 kB / 1.174 GB, free: 1.629 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.8304, allocations: 25.7 kB / 1.174 GB, free: 1.598 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.502e-05/0.8305, allocations: 84.14 kB / 1.174 GB, free: 1.512 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.8305, allocations: 43.39 kB / 1.174 GB, free: 1.469 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.8306, allocations: 25.72 kB / 1.174 GB, free: 1.438 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.8307, allocations: 326.8 kB / 1.174 GB, free: 1.109 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.924e-05/0.8307, allocations: 19.98 kB / 1.174 GB, free: 1.09 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-05/0.8308, allocations: 30.19 kB / 1.174 GB, free: 1.062 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.8309, allocations: 64.84 kB / 1.174 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.8309, allocations: 0 / 1.174 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000237/0.8312, allocations: 106.8 kB / 1.174 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.8312, allocations: 4 kB / 1.174 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.8312, allocations: 240 / 1.174 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.8313, allocations: 7.938 kB / 1.174 GB, free: 0.875 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.8314, allocations: 23.94 kB / 1.174 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.8314, allocations: 7.969 kB / 1.174 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.982e-05/0.8314, allocations: 4 kB / 1.174 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.8315, allocations: 8 kB / 1.174 GB, free: 0.832 MB / 0.92 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.4e-05/0.8315, allocations: 117.8 kB / 1.174 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.428e-05/0.8316, allocations: 0 / 1.174 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.8319, allocations: 133.4 kB / 1.175 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.8319, allocations: 4 kB / 1.175 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.847e-05/0.8319, allocations: 4 kB / 1.175 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.8319, allocations: 0 / 1.175 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.8321, allocations: 181.6 kB / 1.175 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8321, allocations: 0 / 1.175 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.8322, allocations: 23.98 kB / 1.175 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.8323, allocations: 0 / 1.175 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.8323, allocations: 4 kB / 1.175 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.8323, allocations: 0 / 1.175 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.8323, allocations: 7.938 kB / 1.175 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.8326, allocations: 153 kB / 1.175 GB, free: 140 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.758e-05/0.8327, allocations: 89.05 kB / 1.175 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.8327, allocations: 4 kB / 1.175 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.8328, allocations: 15.98 kB / 1.175 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.8329, allocations: 7.984 kB / 1.175 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.8329, allocations: 8.047 kB / 1.175 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.241e-05/0.8329, allocations: 79.28 kB / 1.175 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.833, allocations: 0 / 1.175 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00157/0.8345, allocations: 0.5624 MB / 1.176 GB, free: 15.36 MB / 0.9356 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.003742/0.8383, allocations: 0.9482 MB / 1.177 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001737/0.8385, allocations: 70.98 kB / 1.177 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.8385, allocations: 0 / 1.177 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.353e-05/0.8386, allocations: 39.98 kB / 1.177 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.8387, allocations: 9.5 kB / 1.177 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.8415, allocations: 1.536 MB / 1.178 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.8418, allocations: 0.6885 MB / 1.179 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001024/0.8419, allocations: 20.55 kB / 1.179 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.231e-05/0.8419, allocations: 27.42 kB / 1.179 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.8419, allocations: 0 / 1.179 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05036/0.8923, allocations: 25.4 MB / 1.204 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/8.889, allocations: 10.5 kB / 1.204 GB, free: 2.5 MB / 0.9512 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)