Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",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.006898/0.006898, allocations: 99.52 kB / 15.73 MB, free: 6.039 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.001741/0.001741, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.9442/0.9442, allocations: 143 MB / 433.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.89 kB / 0.5951 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3337, allocations: 82.02 MB / 0.6752 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01476/0.3485, allocations: 12.98 MB / 0.6879 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002706/0.3513, allocations: 2.673 MB / 0.6905 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.721e-05/0.3514, allocations: 1.312 kB / 0.6905 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.3517, allocations: 47.5 kB / 0.6906 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.3519, allocations: 100.8 kB / 0.6907 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.3531, allocations: 0.5167 MB / 0.6912 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.3534, allocations: 231.9 kB / 0.6914 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.3534, allocations: 17.23 kB / 0.6914 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00827/0.3617, allocations: 3.585 MB / 0.6949 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.3619, allocations: 93.84 kB / 0.695 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.3619, allocations: 7.188 kB / 0.695 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/0.3643, allocations: 1.065 MB / 0.696 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.975e-05/0.3644, allocations: 43.83 kB / 0.6961 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.261e-05/0.3645, allocations: 83.58 kB / 0.6962 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006327/0.3651, allocations: 366.9 kB / 0.6965 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3652, allocations: 4 kB / 0.6965 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3652, allocations: 0 / 0.6965 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.3652, allocations: 3.938 kB / 0.6965 GB, free: 0.5195 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006725/0.3658, allocations: 0.5065 MB / 0.697 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.3659, allocations: 12.03 kB / 0.697 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.335e-05/0.3659, allocations: 54.67 kB / 0.6971 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.3661, allocations: 28.83 kB / 0.6971 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.3664, allocations: 208.2 kB / 0.6973 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.3664, allocations: 12.7 kB / 0.6973 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.3664, allocations: 12.38 kB / 0.6973 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.3668, allocations: 248.8 kB / 0.6976 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3668, allocations: 3.938 kB / 0.6976 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.3668, allocations: 15.89 kB / 0.6976 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.3669, allocations: 11.94 kB / 0.6976 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004558/0.3673, allocations: 424.1 kB / 0.698 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.3684, allocations: 0.9722 MB / 0.6989 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.3686, allocations: 156.3 kB / 0.6991 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.3687, allocations: 70.41 kB / 0.6992 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/0.3699, allocations: 1.833 MB / 0.701 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.37, allocations: 42.5 kB / 0.701 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.37, allocations: 0 / 0.701 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0003184/0.3703, allocations: 151.2 kB / 0.7011 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.3703, allocations: 59.41 kB / 0.7012 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.3705, allocations: 173.3 kB / 0.7014 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.3705, allocations: 33.64 kB / 0.7014 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/0.3706, allocations: 136.2 kB / 0.7015 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.3706, allocations: 59.42 kB / 0.7016 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/0.3707, allocations: 53.69 kB / 0.7016 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.3708, allocations: 322.8 kB / 0.7019 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-05/0.3709, allocations: 35.98 kB / 0.702 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.371, allocations: 135 kB / 0.7021 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.3712, allocations: 207.9 kB / 0.7023 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3712, allocations: 0 / 0.7023 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003018/0.3715, allocations: 213.2 kB / 0.7025 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3716, allocations: 8 kB / 0.7025 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3716, allocations: 0 / 0.7025 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3716, allocations: 11.94 kB / 0.7025 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.3718, allocations: 60.36 kB / 0.7026 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.3718, allocations: 11.94 kB / 0.7026 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.3719, allocations: 27.78 kB / 0.7026 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.3719, allocations: 12 kB / 0.7026 GB, free: 9.527 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001007/0.372, allocations: 141.6 kB / 0.7028 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.3721, allocations: 15.91 kB / 0.7028 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.3724, allocations: 162.3 kB / 0.7029 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.3724, allocations: 3.938 kB / 0.7029 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3724, allocations: 4 kB / 0.7029 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3724, allocations: 0 / 0.7029 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.3726, allocations: 217.6 kB / 0.7031 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3727, allocations: 0 / 0.7031 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.003e-05/0.3727, allocations: 27.92 kB / 0.7032 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3728, allocations: 0 / 0.7032 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.3728, allocations: 4 kB / 0.7032 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3728, allocations: 7.938 kB / 0.7032 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3728, allocations: 0 / 0.7032 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.373, allocations: 213.9 kB / 0.7034 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.523e-05/0.3731, allocations: 120.9 kB / 0.7035 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.3731, allocations: 4 kB / 0.7035 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.3733, allocations: 19.92 kB / 0.7035 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.3734, allocations: 11.92 kB / 0.7035 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.3734, allocations: 15.98 kB / 0.7036 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.895e-05/0.3735, allocations: 124.2 kB / 0.7037 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3735, allocations: 0 / 0.7037 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003775/0.3739, allocations: 79.81 kB / 0.7037 GB, free: 8.285 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0006464/0.3745, allocations: 0.8371 MB / 0.7046 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.3748, allocations: 118.1 kB / 0.7047 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3748, allocations: 0 / 0.7047 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.712e-05/0.3748, allocations: 48.8 kB / 0.7047 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.3753, allocations: 63.86 kB / 0.7048 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.3772, allocations: 2.049 MB / 0.7068 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.3775, allocations: 0.7128 MB / 0.7075 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001573/0.3776, allocations: 57.42 kB / 0.7075 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.543e-05/0.3777, allocations: 43.42 kB / 0.7076 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of SimCode: time 3.41e-07/0.3777, allocations: 0 / 0.7076 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.3999, allocations: 5.607 MB / 0.7131 GB, free: 14.71 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.322/7.722, allocations: 6.062 kB / 0.7131 GB, free: 14.71 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)