Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.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.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel",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.004848/0.004848, allocations: 100.6 kB / 15.73 MB, free: 6.051 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.001162/0.001162, allocations: 198.5 kB / 16.68 MB, free: 5.973 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.16 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.9842/0.9842, allocations: 143 MB / 433.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 63.91 kB / 0.595 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.407, allocations: 82.04 MB / 0.6752 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01446/0.4215, allocations: 14.42 MB / 0.6892 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00506/0.4266, allocations: 3.65 MB / 0.6928 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004455/0.427, allocations: 20.69 kB / 0.6928 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005797/0.4276, allocations: 206.8 kB / 0.693 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.429, allocations: 0.6155 MB / 0.6936 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008559/0.4298, allocations: 399.3 kB / 0.694 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001153/0.431, allocations: 1.085 MB / 0.6951 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003945/0.4314, allocations: 318.5 kB / 0.6954 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009031/0.4323, allocations: 398.3 kB / 0.6957 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003369/0.4327, allocations: 312.3 kB / 0.696 GB, free: 380 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.657e-05/0.4327, allocations: 30.16 kB / 0.6961 GB, free: 380 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005111/0.4332, allocations: 257.2 kB / 0.6963 GB, free: 248 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.4333, allocations: 87.36 kB / 0.6964 GB, free: 180 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.4336, allocations: 213 kB / 0.6966 GB, free: 40 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007817/0.4344, allocations: 0.6185 MB / 0.6972 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4344, allocations: 0 / 0.6972 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4344, allocations: 0 / 0.6972 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.872e-06/0.4344, allocations: 0 / 0.6972 GB, free: 15.62 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.00108/0.4355, allocations: 0.7618 MB / 0.6979 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.4355, allocations: 9.281 kB / 0.698 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.159e-05/0.4356, allocations: 64.38 kB / 0.698 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.4358, allocations: 51.12 kB / 0.6981 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007031/0.4365, allocations: 479.5 kB / 0.6985 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.4365, allocations: 24.69 kB / 0.6985 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/0.4366, allocations: 27.94 kB / 0.6986 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005602/0.4371, allocations: 306.2 kB / 0.6989 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.4372, allocations: 4 kB / 0.6989 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.4372, allocations: 8 kB / 0.6989 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.4372, allocations: 15.94 kB / 0.6989 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004539/0.4377, allocations: 194.1 kB / 0.6991 GB, free: 13.76 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.4394, allocations: 1.486 MB / 0.7005 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.4398, allocations: 154.6 kB / 0.7007 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.44, allocations: 76.83 kB / 0.7008 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/0.4401, allocations: 89.08 kB / 0.7008 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002887/0.4404, allocations: 127.3 kB / 0.701 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.4405, allocations: 0 / 0.701 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006186/0.4411, allocations: 239.2 kB / 0.7012 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.4411, allocations: 59.41 kB / 0.7012 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.4415, allocations: 345.7 kB / 0.7016 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.4415, allocations: 29.7 kB / 0.7016 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.4416, allocations: 220.1 kB / 0.7018 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.4417, allocations: 59.47 kB / 0.7019 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.814e-05/0.4418, allocations: 57.66 kB / 0.7019 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.4419, allocations: 342.8 kB / 0.7022 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.4421, allocations: 75.89 kB / 0.7023 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.4423, allocations: 138.6 kB / 0.7025 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.4427, allocations: 252.7 kB / 0.7027 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4428, allocations: 0 / 0.7027 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005657/0.4433, allocations: 312.5 kB / 0.703 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.4434, allocations: 33.7 kB / 0.703 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4434, allocations: 4 kB / 0.703 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.4434, allocations: 7.938 kB / 0.703 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.4436, allocations: 55.89 kB / 0.7031 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.4436, allocations: 4 kB / 0.7031 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.4439, allocations: 31.83 kB / 0.7031 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.4439, allocations: 12 kB / 0.7031 GB, free: 9.297 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.0001526/0.4441, allocations: 169.8 kB / 0.7033 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.4442, allocations: 35.77 kB / 0.7033 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004468/0.4446, allocations: 188.5 kB / 0.7035 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.4446, allocations: 7.938 kB / 0.7035 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4446, allocations: 0 / 0.7035 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004814/0.4451, allocations: 485.7 kB / 0.704 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003847/0.4455, allocations: 349.4 kB / 0.7043 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4455, allocations: 3.984 kB / 0.7043 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.4457, allocations: 31.92 kB / 0.7043 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4457, allocations: 0 / 0.7043 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.4457, allocations: 8 kB / 0.7044 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.4457, allocations: 7.875 kB / 0.7044 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4457, allocations: 0 / 0.7044 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005864/0.4463, allocations: 289.8 kB / 0.7046 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.4465, allocations: 124.9 kB / 0.7048 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.4465, allocations: 4 kB / 0.7048 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.4468, allocations: 23.91 kB / 0.7048 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.4468, allocations: 15.98 kB / 0.7048 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.4469, allocations: 15.92 kB / 0.7048 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002318/0.4471, allocations: 247.2 kB / 0.7051 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4471, allocations: 7.938 kB / 0.7051 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004151/0.4475, allocations: 123.7 kB / 0.7052 GB, free: 7.02 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001038/0.4486, allocations: 0.9187 MB / 0.7061 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004689/0.4491, allocations: 227.1 kB / 0.7063 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4491, allocations: 0 / 0.7063 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.4493, allocations: 72.53 kB / 0.7064 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009313/0.4502, allocations: 212.5 kB / 0.7066 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/0.4544, allocations: 3.075 MB / 0.7096 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.4548, allocations: 0.7879 MB / 0.7103 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002356/0.455, allocations: 67.23 kB / 0.7104 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.4552, allocations: 119.4 kB / 0.7105 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.4552, allocations: 0 / 0.7105 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.4825, allocations: 10.3 MB / 0.7206 GB, free: 7.266 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/8.118, allocations: 11.84 kB / 0.7206 GB, free: 7.254 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)