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.0006853/0.0006853, allocations: 94.83 kB / 15.36 MB, free: 0.7344 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.003951/0.003951, allocations: 176 kB / 16.27 MB, free: 6.684 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.205/1.205, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.9064/0.9064, allocations: 143.2 MB / 434.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003032/0.0003033, allocations: 12 kB / 0.5165 GB, free: 11.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1432, allocations: 83.42 MB / 0.598 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.2702/0.4134, allocations: 13.87 MB / 0.6115 GB, free: 35.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003822/0.4173, allocations: 3.622 MB / 0.615 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002727/0.4176, allocations: 14.34 kB / 0.615 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004873/0.4181, allocations: 170.4 kB / 0.6152 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.4191, allocations: 0.5483 MB / 0.6157 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006579/0.4198, allocations: 349.7 kB / 0.6161 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00115/0.4209, allocations: 1.464 MB / 0.6175 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003476/0.4213, allocations: 260.2 kB / 0.6178 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003325/0.4216, allocations: 311.9 kB / 0.6181 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.4219, allocations: 301.8 kB / 0.6183 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.422, allocations: 14.84 kB / 0.6184 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003868/0.4223, allocations: 244.4 kB / 0.6186 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.037e-05/0.4224, allocations: 71.62 kB / 0.6187 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.4226, allocations: 214.9 kB / 0.6189 GB, free: 33.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000457/0.423, allocations: 0.5823 MB / 0.6194 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.4231, allocations: 0 / 0.6194 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4231, allocations: 0 / 0.6194 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.4231, allocations: 2.969 kB / 0.6194 GB, free: 32.95 MB / 0.4981 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.0007987/0.4239, allocations: 0.6812 MB / 0.6201 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.4239, allocations: 11.69 kB / 0.6201 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.455e-05/0.424, allocations: 61.42 kB / 0.6202 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.4241, allocations: 48.81 kB / 0.6202 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005321/0.4247, allocations: 488.1 kB / 0.6207 GB, free: 32.08 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.4247, allocations: 21.03 kB / 0.6207 GB, free: 32.08 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/0.4248, allocations: 26.09 kB / 0.6207 GB, free: 32.08 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004898/0.4252, allocations: 312.2 kB / 0.621 GB, free: 32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.4253, allocations: 3.938 kB / 0.621 GB, free: 32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.4253, allocations: 13.72 kB / 0.621 GB, free: 32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.4253, allocations: 9.656 kB / 0.621 GB, free: 32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/0.4257, allocations: 206.8 kB / 0.6212 GB, free: 31.99 MB / 0.4981 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.001302/0.4271, allocations: 1.484 MB / 0.6227 GB, free: 31 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.4275, allocations: 166.9 kB / 0.6229 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.4276, allocations: 80.38 kB / 0.6229 GB, free: 30.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/0.4278, allocations: 86.25 kB / 0.623 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/0.428, allocations: 132.5 kB / 0.6231 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.428, allocations: 4.75 kB / 0.6231 GB, free: 30.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005405/0.4286, allocations: 257 kB / 0.6234 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.4286, allocations: 59.34 kB / 0.6234 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.4289, allocations: 330.8 kB / 0.6238 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.4289, allocations: 36.45 kB / 0.6238 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.247e-05/0.429, allocations: 223.1 kB / 0.624 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.429, allocations: 47 kB / 0.6241 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.4291, allocations: 29.53 kB / 0.6241 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.4291, allocations: 343 kB / 0.6244 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.4293, allocations: 77.17 kB / 0.6245 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.4295, allocations: 145.7 kB / 0.6246 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.4299, allocations: 265.4 kB / 0.6249 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4299, allocations: 0 / 0.6249 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004928/0.4304, allocations: 321.3 kB / 0.6252 GB, free: 29.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.4304, allocations: 34.3 kB / 0.6252 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4304, allocations: 6.625 kB / 0.6252 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.4304, allocations: 6.75 kB / 0.6252 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.4306, allocations: 63.11 kB / 0.6253 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.4307, allocations: 6.344 kB / 0.6253 GB, free: 29.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.4309, allocations: 47.88 kB / 0.6253 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.4309, allocations: 7.625 kB / 0.6253 GB, free: 29.66 MB / 0.4981 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.0001257/0.4311, allocations: 164.6 kB / 0.6255 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.4311, allocations: 32.91 kB / 0.6255 GB, free: 29.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004037/0.4315, allocations: 204.4 kB / 0.6257 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.4315, allocations: 3.938 kB / 0.6257 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4315, allocations: 2.938 kB / 0.6257 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003496/0.4319, allocations: 498.8 kB / 0.6262 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.4323, allocations: 354.8 kB / 0.6265 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4323, allocations: 0 / 0.6265 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.4324, allocations: 32.12 kB / 0.6266 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4324, allocations: 3 kB / 0.6266 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.4325, allocations: 7.422 kB / 0.6266 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4325, allocations: 3.938 kB / 0.6266 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4325, allocations: 0 / 0.6266 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005218/0.433, allocations: 302.2 kB / 0.6269 GB, free: 28.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.4331, allocations: 125.7 kB / 0.627 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.4332, allocations: 11.36 kB / 0.627 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.4334, allocations: 31.55 kB / 0.627 GB, free: 28.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.4335, allocations: 14.31 kB / 0.6271 GB, free: 28.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.4335, allocations: 12.83 kB / 0.6271 GB, free: 28.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001762/0.4337, allocations: 236.8 kB / 0.6273 GB, free: 28.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4337, allocations: 0 / 0.6273 GB, free: 28.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003744/0.4341, allocations: 114.8 kB / 0.6274 GB, free: 28.37 MB / 0.4981 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.0008529/0.4349, allocations: 0.9181 MB / 0.6283 GB, free: 27.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004169/0.4353, allocations: 240.1 kB / 0.6285 GB, free: 27.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4354, allocations: 0 / 0.6285 GB, free: 27.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.4355, allocations: 84.33 kB / 0.6286 GB, free: 27.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009477/0.4365, allocations: 205.3 kB / 0.6288 GB, free: 27.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.44, allocations: 3.242 MB / 0.632 GB, free: 25.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.4402, allocations: 0.7902 MB / 0.6327 GB, free: 24.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003031/0.4405, allocations: 62.34 kB / 0.6328 GB, free: 24.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.4406, allocations: 115.4 kB / 0.6329 GB, free: 24.51 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.4406, allocations: 0 / 0.6329 GB, free: 24.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.671/5.112, allocations: 9.414 MB / 0.6421 GB, free: 23.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/5.112, allocations: 212.2 kB / 0.6423 GB, free: 23.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.325/8.437, allocations: 0 / 0.6423 GB, free: 23.51 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)