Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001609/0.001609, allocations: 108 kB / 15.6 MB, free: 132 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.001297/0.001298, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9804/0.9804, allocations: 143 MB / 433.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002361, allocations: 64.09 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.2009, allocations: 82.03 MB / 0.5944 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002491/0.2034, allocations: 1.26 MB / 0.5956 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3763/0.5797, allocations: 137.7 MB / 0.7301 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.363e-05/0.5798, allocations: 0 / 0.7301 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.454e-05/0.5799, allocations: 4.641 kB / 0.7301 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.034e-05/0.5799, allocations: 5.75 kB / 0.7301 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.5816, allocations: 461.7 kB / 0.7305 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.289e-05/0.5817, allocations: 45.94 kB / 0.7306 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.5818, allocations: 8.531 kB / 0.7306 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.101e-05/0.5818, allocations: 22.91 kB / 0.7306 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.5819, allocations: 14.77 kB / 0.7306 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.5819, allocations: 2.062 kB / 0.7306 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.5839, allocations: 0.8117 MB / 0.7314 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.5839, allocations: 13.2 kB / 0.7314 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.5839, allocations: 13.91 kB / 0.7315 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009546/0.5849, allocations: 451.5 kB / 0.7319 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5849, allocations: 0 / 0.7319 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5849, allocations: 1.125 kB / 0.7319 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.5849, allocations: 4 kB / 0.7319 GB, free: 12.16 MB / 0.5606 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.0006309/0.5856, allocations: 370.3 kB / 0.7322 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.5856, allocations: 9.156 kB / 0.7323 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.5857, allocations: 33.06 kB / 0.7323 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.5859, allocations: 13.75 kB / 0.7323 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.586, allocations: 161.4 kB / 0.7324 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.586, allocations: 10.59 kB / 0.7325 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.586, allocations: 8.281 kB / 0.7325 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.5862, allocations: 64.66 kB / 0.7325 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.5862, allocations: 0 / 0.7325 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.5862, allocations: 1.281 kB / 0.7325 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.5862, allocations: 1.125 kB / 0.7325 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.913e-05/0.5863, allocations: 19.16 kB / 0.7326 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.5865, allocations: 168.3 kB / 0.7327 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.5866, allocations: 50.77 kB / 0.7328 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.5866, allocations: 25.91 kB / 0.7328 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01217/0.5988, allocations: 3.17 MB / 0.7359 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/0.5989, allocations: 35.69 kB / 0.7359 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 2.535e-06/0.5989, allocations: 0 / 0.7359 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.04338/0.6423, allocations: 14.87 MB / 0.7504 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.6424, allocations: 63.34 kB / 0.7505 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.334e-05/0.6425, allocations: 93.84 kB / 0.7506 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.6425, allocations: 25.7 kB / 0.7506 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.148e-05/0.6425, allocations: 84.14 kB / 0.7507 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.6426, allocations: 39.34 kB / 0.7507 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.6426, allocations: 33.7 kB / 0.7508 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.987e-05/0.6427, allocations: 326.9 kB / 0.7511 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/0.6428, allocations: 20 kB / 0.7511 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.283e-05/0.6429, allocations: 27.92 kB / 0.7511 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.643, allocations: 62.47 kB / 0.7512 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.643, allocations: 0 / 0.7512 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002107/0.6432, allocations: 105.7 kB / 0.7513 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.6432, allocations: 4 kB / 0.7513 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.6432, allocations: 0 / 0.7513 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.6433, allocations: 0 / 0.7513 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.6434, allocations: 27.92 kB / 0.7513 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.6434, allocations: 8 kB / 0.7513 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.6434, allocations: 4 kB / 0.7513 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.6434, allocations: 4.562 kB / 0.7513 GB, free: 12.12 MB / 0.5762 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 7.65e-05/0.6435, allocations: 113.8 kB / 0.7514 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.6436, allocations: 11.89 kB / 0.7514 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.6439, allocations: 129.4 kB / 0.7516 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.6439, allocations: 0 / 0.7516 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6439, allocations: 0 / 0.7516 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.6439, allocations: 0 / 0.7516 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.644, allocations: 182.2 kB / 0.7517 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.644, allocations: 0 / 0.7517 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.6442, allocations: 23.98 kB / 0.7518 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.6442, allocations: 4 kB / 0.7518 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.6442, allocations: 6.188 kB / 0.7518 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6442, allocations: 4 kB / 0.7518 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6442, allocations: 0 / 0.7518 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.6445, allocations: 163 kB / 0.7519 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.6446, allocations: 85.14 kB / 0.752 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.6446, allocations: 11.94 kB / 0.752 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.6448, allocations: 11.98 kB / 0.752 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.6448, allocations: 11.98 kB / 0.752 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.6448, allocations: 8 kB / 0.7521 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.111e-05/0.6449, allocations: 75.28 kB / 0.7521 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6449, allocations: 0 / 0.7521 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001717/0.6466, allocations: 0.5663 MB / 0.7527 GB, free: 10.64 MB / 0.5762 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.003733/0.6503, allocations: 0.9404 MB / 0.7536 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.6505, allocations: 69.16 kB / 0.7537 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.6505, allocations: 0 / 0.7537 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.821e-05/0.6506, allocations: 37.84 kB / 0.7537 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.6508, allocations: 8 kB / 0.7537 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.6531, allocations: 1.528 MB / 0.7552 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.6533, allocations: 0.6893 MB / 0.7559 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.736e-05/0.6534, allocations: 29.14 kB / 0.7559 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.6535, allocations: 27.44 kB / 0.7559 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.6535, allocations: 0 / 0.7559 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0499/0.7034, allocations: 25.51 MB / 0.7808 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.13/8.833, allocations: 0 / 0.7808 GB, free: 13.83 MB / 0.6075 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)