Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.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.SteamProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties",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.001712/0.001712, 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.002005/0.002005, allocations: 194.3 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.9956/0.9956, allocations: 143 MB / 433.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 67.89 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1456, allocations: 82.04 MB / 0.5944 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamProperties): time 0.3775/0.5232, allocations: 136.1 MB / 0.7273 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02572/0.549, allocations: 22.32 MB / 0.7491 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.5492, allocations: 0 / 0.7491 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.5494, allocations: 52.88 kB / 0.7492 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.5497, allocations: 88.09 kB / 0.7493 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01743/0.5672, allocations: 6.683 MB / 0.7558 GB, free: 8 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003472/0.5675, allocations: 251.9 kB / 0.756 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.955e-05/0.5676, allocations: 17.5 kB / 0.756 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002802/0.5679, allocations: 139.4 kB / 0.7562 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.568, allocations: 87.67 kB / 0.7563 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.568, allocations: 8 kB / 0.7563 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0185/0.5866, allocations: 10.68 MB / 0.7667 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.361e-05/0.5867, allocations: 35.91 kB / 0.7667 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.5868, allocations: 83.64 kB / 0.7668 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0127/0.5995, allocations: 6.177 MB / 0.7728 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.5996, allocations: 0 / 0.7728 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.714e-06/0.5996, allocations: 0 / 0.7728 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.5996, allocations: 0 / 0.7728 GB, free: 6.512 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003305/0.6029, allocations: 1.184 MB / 0.774 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.603, allocations: 8.031 kB / 0.774 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.418e-05/0.603, allocations: 50.73 kB / 0.7741 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.6042, allocations: 88.66 kB / 0.7741 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.6044, allocations: 232.2 kB / 0.7744 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.6044, allocations: 18.44 kB / 0.7744 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.6045, allocations: 12 kB / 0.7744 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.6056, allocations: 452.7 kB / 0.7748 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.6056, allocations: 0 / 0.7748 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.6056, allocations: 7.938 kB / 0.7748 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.6056, allocations: 4 kB / 0.7748 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.6068, allocations: 0.6015 MB / 0.7754 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.6079, allocations: 0.8854 MB / 0.7763 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008025/0.6087, allocations: 254.6 kB / 0.7765 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.6088, allocations: 72.83 kB / 0.7766 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08697/0.6958, allocations: 35.06 MB / 0.8108 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.6959, allocations: 38.56 kB / 0.8109 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 2.144e-06/0.6959, allocations: 0 / 0.8109 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001756/0.6976, allocations: 419.3 kB / 0.8113 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.6977, allocations: 55.41 kB / 0.8113 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.6978, allocations: 140.1 kB / 0.8115 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.6979, allocations: 33.7 kB / 0.8115 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.6979, allocations: 112.4 kB / 0.8116 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.698, allocations: 86.75 kB / 0.8117 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.6981, allocations: 69.67 kB / 0.8118 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.6982, allocations: 334.8 kB / 0.8121 GB, free: 11 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.6984, allocations: 83.95 kB / 0.8122 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.6987, allocations: 135 kB / 0.8123 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/0.6991, allocations: 222.3 kB / 0.8125 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6991, allocations: 0 / 0.8125 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007266/0.6999, allocations: 297.2 kB / 0.8128 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.6999, allocations: 8 kB / 0.8128 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.6999, allocations: 0 / 0.8128 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.6999, allocations: 6 kB / 0.8128 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.7002, allocations: 79.88 kB / 0.8129 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.7002, allocations: 4 kB / 0.8129 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.7004, allocations: 27.84 kB / 0.8129 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/0.7004, allocations: 31.97 kB / 0.8129 GB, free: 10.09 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 30 * 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 0.0001301/0.7006, allocations: 121.8 kB / 0.813 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.7008, allocations: 15.91 kB / 0.8131 GB, free: 9.945 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/0.7031, allocations: 2.344 MB / 0.8154 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.7031, allocations: 15.98 kB / 0.8154 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.7031, allocations: 0 / 0.8154 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.7031, allocations: 7.922 kB / 0.8154 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/0.7062, allocations: 3.427 MB / 0.8187 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.7062, allocations: 0 / 0.8187 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.7065, allocations: 55.89 kB / 0.8188 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.7065, allocations: 0 / 0.8188 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.7065, allocations: 11.94 kB / 0.8188 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.7065, allocations: 0.5625 kB / 0.8188 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7066, allocations: 3.984 kB / 0.8188 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007378/0.7073, allocations: 0.5429 MB / 0.8193 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.7074, allocations: 152.5 kB / 0.8195 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.7075, allocations: 11.94 kB / 0.8195 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.7077, allocations: 12.48 kB / 0.8195 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.7077, allocations: 11.98 kB / 0.8195 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.7078, allocations: 19.98 kB / 0.8195 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.762e-05/0.7079, allocations: 109.2 kB / 0.8196 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7079, allocations: 0 / 0.8196 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003647/0.7115, allocations: 1.624 MB / 0.8212 GB, free: 1.457 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.008308/0.7198, allocations: 2.895 MB / 0.824 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000676/0.7205, allocations: 328.3 kB / 0.8243 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.7205, allocations: 0 / 0.8243 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002925/0.7208, allocations: 245.4 kB / 0.8246 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005331/0.7214, allocations: 77.62 kB / 0.8247 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005818/0.7272, allocations: 3.043 MB / 0.8276 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.7277, allocations: 0.7661 MB / 0.8284 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008699/0.7286, allocations: 405.2 kB / 0.8288 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.7288, allocations: 95.39 kB / 0.8289 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of SimCode: time 2.735e-06/0.7289, allocations: 0 / 0.8289 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3381/1.067, allocations: 61.03 MB / 0.8884 GB, free: 188.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/12.36, allocations: 11.81 kB / 0.8885 GB, free: 188.8 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties_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_Examples_SteamProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe 2>&1)