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.004479/0.004479, allocations: 97.2 kB / 15.73 MB, free: 5.547 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.001878/0.001878, allocations: 190 kB / 16.67 MB, free: 5.48 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.338/1.338, 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.387/2.387, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.89 kB / 1.018 GB, free: 9.965 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7155/0.7169, allocations: 151.6 MB / 1.166 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002205/0.7191, allocations: 1.264 MB / 1.167 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1412/0.8603, allocations: 137.7 MB / 1.302 GB, free: 8.309 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.861e-05/0.8604, allocations: 3.938 kB / 1.302 GB, free: 8.305 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.769e-05/0.8604, allocations: 4 kB / 1.302 GB, free: 8.301 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.072e-05/0.8606, allocations: 7.875 kB / 1.302 GB, free: 8.293 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.8618, allocations: 474.3 kB / 1.302 GB, free: 7.828 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.615e-05/0.8619, allocations: 31.92 kB / 1.302 GB, free: 7.797 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.862, allocations: 3.984 kB / 1.302 GB, free: 7.793 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.607e-05/0.862, allocations: 23.92 kB / 1.302 GB, free: 7.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.531e-05/0.8621, allocations: 23.97 kB / 1.302 GB, free: 7.746 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.8621, allocations: 0 / 1.302 GB, free: 7.746 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.8634, allocations: 0.8192 MB / 1.303 GB, free: 6.926 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.8635, allocations: 19.92 kB / 1.303 GB, free: 6.906 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.8635, allocations: 15.98 kB / 1.303 GB, free: 6.891 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005563/0.8641, allocations: 450.8 kB / 1.304 GB, free: 6.453 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.8641, allocations: 0 / 1.304 GB, free: 6.453 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8641, allocations: 0 / 1.304 GB, free: 6.453 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.8641, allocations: 0 / 1.304 GB, free: 6.453 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.0005043/0.8646, allocations: 375.1 kB / 1.304 GB, free: 6.039 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.8647, allocations: 12.62 kB / 1.304 GB, free: 6.027 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.387e-05/0.8647, allocations: 34.69 kB / 1.304 GB, free: 5.984 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.8649, allocations: 16.92 kB / 1.304 GB, free: 5.969 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.865, allocations: 160.4 kB / 1.304 GB, free: 5.773 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.865, allocations: 8.375 kB / 1.304 GB, free: 5.766 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.865, allocations: 11.89 kB / 1.304 GB, free: 5.754 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.8652, allocations: 53.67 kB / 1.304 GB, free: 5.695 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.8652, allocations: 0 / 1.304 GB, free: 5.695 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.8652, allocations: 0 / 1.304 GB, free: 5.695 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.8652, allocations: 0 / 1.304 GB, free: 5.695 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.465e-05/0.8653, allocations: 23.92 kB / 1.304 GB, free: 5.672 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.8655, allocations: 173.6 kB / 1.304 GB, free: 5.453 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.8656, allocations: 50.5 kB / 1.305 GB, free: 5.395 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.577e-05/0.8656, allocations: 20.84 kB / 1.305 GB, free: 5.371 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01125/0.8769, allocations: 3.202 MB / 1.308 GB, free: 2.074 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.8769, allocations: 38.56 kB / 1.308 GB, free: 2.027 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.877, allocations: 0 / 1.308 GB, free: 2.027 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.04251/0.9195, allocations: 15 MB / 1.322 GB, free: 2.875 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.9195, allocations: 51.41 kB / 1.322 GB, free: 2.812 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.421e-05/0.9196, allocations: 97.86 kB / 1.322 GB, free: 2.707 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.9197, allocations: 29.7 kB / 1.323 GB, free: 2.672 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 2.839e-05/0.9197, allocations: 80.14 kB / 1.323 GB, free: 2.59 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.9197, allocations: 43.58 kB / 1.323 GB, free: 2.547 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.9198, allocations: 33.7 kB / 1.323 GB, free: 2.508 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.9199, allocations: 322.7 kB / 1.323 GB, free: 2.184 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.488e-05/0.92, allocations: 23.98 kB / 1.323 GB, free: 2.16 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.378e-05/0.92, allocations: 25.11 kB / 1.323 GB, free: 2.137 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.9202, allocations: 58.36 kB / 1.323 GB, free: 2.078 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.9202, allocations: 4 kB / 1.323 GB, free: 2.074 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002153/0.9204, allocations: 105.6 kB / 1.323 GB, free: 1.965 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.9204, allocations: 8 kB / 1.323 GB, free: 1.957 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.9204, allocations: 0 / 1.323 GB, free: 1.957 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.9204, allocations: 0 / 1.323 GB, free: 1.957 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.9206, allocations: 31.92 kB / 1.323 GB, free: 1.926 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.9206, allocations: 0 / 1.323 GB, free: 1.926 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.432e-05/0.9206, allocations: 0 / 1.323 GB, free: 1.926 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.9206, allocations: 8 kB / 1.323 GB, free: 1.918 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 8.284e-05/0.9207, allocations: 127.9 kB / 1.323 GB, free: 1.785 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.9208, allocations: 7.953 kB / 1.323 GB, free: 1.777 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.921, allocations: 117.6 kB / 1.323 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.921, allocations: 0 / 1.323 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.921, allocations: 0 / 1.323 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.9211, allocations: 0 / 1.323 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.9212, allocations: 181.6 kB / 1.324 GB, free: 1.422 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.9212, allocations: 0 / 1.324 GB, free: 1.422 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.9213, allocations: 27.98 kB / 1.324 GB, free: 1.395 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.9214, allocations: 0 / 1.324 GB, free: 1.395 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.9214, allocations: 4 kB / 1.324 GB, free: 1.391 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.9214, allocations: 7.875 kB / 1.324 GB, free: 1.383 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.9214, allocations: 3.984 kB / 1.324 GB, free: 1.379 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.9217, allocations: 152.9 kB / 1.324 GB, free: 1.211 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.689e-05/0.9218, allocations: 89.09 kB / 1.324 GB, free: 1.105 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.9218, allocations: 11.98 kB / 1.324 GB, free: 1.094 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.9219, allocations: 8 kB / 1.324 GB, free: 1.086 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.922, allocations: 11.98 kB / 1.324 GB, free: 1.074 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.922, allocations: 8 kB / 1.324 GB, free: 1.066 MB / 1.045 GB Notification: Performance of sorting global known variables: time 2.938e-05/0.922, allocations: 75.28 kB / 1.324 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.4e-07/0.922, allocations: 0 / 1.324 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001616/0.9237, allocations: 0.57 MB / 1.325 GB, free: 432 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.003373/0.927, allocations: 0.9414 MB / 1.325 GB, free: 15.45 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.9272, allocations: 67.97 kB / 1.326 GB, free: 15.39 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9272, allocations: 0 / 1.326 GB, free: 15.39 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.674e-05/0.9273, allocations: 39.92 kB / 1.326 GB, free: 15.35 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.9275, allocations: 8 kB / 1.326 GB, free: 15.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.9297, allocations: 1.546 MB / 1.327 GB, free: 13.71 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.9301, allocations: 0.6885 MB / 1.328 GB, free: 13 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.954e-05/0.9302, allocations: 28.53 kB / 1.328 GB, free: 12.97 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.9303, allocations: 19.44 kB / 1.328 GB, free: 12.95 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.9303, allocations: 0 / 1.328 GB, free: 12.95 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05285/0.9831, allocations: 25.44 MB / 1.353 GB, free: 3.551 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.325/9.308, allocations: 9.188 kB / 1.353 GB, free: 3.547 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)