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.001248/0.001248, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001337/0.001337, allocations: 191.9 kB / 16.14 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.27/1.27, allocations: 222.9 MB / 239.8 MB, free: 4.547 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.8831/0.8831, allocations: 143.1 MB / 433 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.91 kB / 0.5136 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1544, allocations: 82.05 MB / 0.5937 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.265/0.4194, allocations: 14.36 MB / 0.6078 GB, free: 37.13 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004731/0.4242, allocations: 3.68 MB / 0.6113 GB, free: 36.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005693/0.4248, allocations: 22.25 kB / 0.6114 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000592/0.4255, allocations: 163.4 kB / 0.6115 GB, free: 36.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.4267, allocations: 0.5511 MB / 0.6121 GB, free: 35.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007959/0.4275, allocations: 355.7 kB / 0.6124 GB, free: 35.9 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00116/0.4286, allocations: 1.454 MB / 0.6138 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003313/0.429, allocations: 284.3 kB / 0.6141 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000348/0.4293, allocations: 312.1 kB / 0.6144 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.4296, allocations: 310.7 kB / 0.6147 GB, free: 35.45 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.534e-05/0.4297, allocations: 17.5 kB / 0.6147 GB, free: 35.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004997/0.4302, allocations: 243.6 kB / 0.6149 GB, free: 35.4 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.127e-05/0.4303, allocations: 81.34 kB / 0.615 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.4304, allocations: 202 kB / 0.6152 GB, free: 35.28 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005251/0.431, allocations: 0.5975 MB / 0.6158 GB, free: 35.06 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.431, allocations: 0 / 0.6158 GB, free: 35.06 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.431, allocations: 0 / 0.6158 GB, free: 35.06 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.431, allocations: 0 / 0.6158 GB, free: 35.06 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.0009683/0.432, allocations: 0.7405 MB / 0.6165 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.432, allocations: 15.31 kB / 0.6165 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.374e-05/0.4321, allocations: 58.78 kB / 0.6166 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.4323, allocations: 53.38 kB / 0.6166 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005733/0.4329, allocations: 485.5 kB / 0.6171 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.4329, allocations: 28.06 kB / 0.6171 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/0.4329, allocations: 27.34 kB / 0.6171 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004986/0.4335, allocations: 308.1 kB / 0.6174 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.4335, allocations: 0 / 0.6174 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.4335, allocations: 10.91 kB / 0.6175 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.4335, allocations: 13.3 kB / 0.6175 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004059/0.4339, allocations: 196 kB / 0.6177 GB, free: 33.78 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.001335/0.4353, allocations: 1.482 MB / 0.6191 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.4357, allocations: 156.8 kB / 0.6192 GB, free: 32.53 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.4358, allocations: 66.72 kB / 0.6193 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/0.436, allocations: 86.48 kB / 0.6194 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000258/0.4363, allocations: 134.5 kB / 0.6195 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.4363, allocations: 0 / 0.6195 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005418/0.4368, allocations: 231.9 kB / 0.6197 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.4369, allocations: 54.28 kB / 0.6198 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.4371, allocations: 336 kB / 0.6201 GB, free: 32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.4372, allocations: 29.7 kB / 0.6201 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.4373, allocations: 217.9 kB / 0.6204 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.4373, allocations: 57.7 kB / 0.6204 GB, free: 31.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.788e-05/0.4374, allocations: 59.97 kB / 0.6205 GB, free: 31.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.52e-05/0.4375, allocations: 345.1 kB / 0.6208 GB, free: 31.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.4376, allocations: 68.94 kB / 0.6209 GB, free: 31.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.4378, allocations: 145.7 kB / 0.621 GB, free: 31.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.4382, allocations: 240.9 kB / 0.6212 GB, free: 31.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4382, allocations: 2.656 kB / 0.6212 GB, free: 31.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005014/0.4387, allocations: 313.7 kB / 0.6215 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.4387, allocations: 37.77 kB / 0.6216 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4387, allocations: 6.578 kB / 0.6216 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.4388, allocations: 6.688 kB / 0.6216 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.439, allocations: 59.06 kB / 0.6216 GB, free: 30.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.439, allocations: 6.859 kB / 0.6216 GB, free: 30.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.4393, allocations: 34.02 kB / 0.6217 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.4393, allocations: 14.56 kB / 0.6217 GB, free: 30.84 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.0001263/0.4394, allocations: 152.4 kB / 0.6218 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.4395, allocations: 40.75 kB / 0.6219 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003926/0.4399, allocations: 197.5 kB / 0.6221 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4399, allocations: 6.312 kB / 0.6221 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4399, allocations: 0.9375 kB / 0.6221 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003652/0.4403, allocations: 480.5 kB / 0.6225 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.4406, allocations: 354.4 kB / 0.6229 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4406, allocations: 0 / 0.6229 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.4408, allocations: 38.55 kB / 0.6229 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4408, allocations: 0 / 0.6229 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.4408, allocations: 2.688 kB / 0.6229 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4408, allocations: 7.5 kB / 0.6229 GB, free: 29.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4408, allocations: 0 / 0.6229 GB, free: 29.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005199/0.4413, allocations: 291.5 kB / 0.6232 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/0.4414, allocations: 121 kB / 0.6233 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.4415, allocations: 4 kB / 0.6233 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.4417, allocations: 20.83 kB / 0.6233 GB, free: 29.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/0.4418, allocations: 18.94 kB / 0.6233 GB, free: 29.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.4418, allocations: 10.02 kB / 0.6234 GB, free: 29.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001821/0.442, allocations: 237.3 kB / 0.6236 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.442, allocations: 0 / 0.6236 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003811/0.4424, allocations: 123.7 kB / 0.6237 GB, free: 29.42 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.0008358/0.4433, allocations: 0.8913 MB / 0.6246 GB, free: 28.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003979/0.4437, allocations: 235.3 kB / 0.6248 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4437, allocations: 0 / 0.6248 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.4438, allocations: 76.03 kB / 0.6249 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008925/0.4447, allocations: 203.2 kB / 0.6251 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.4482, allocations: 3.146 MB / 0.6281 GB, free: 26.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.4484, allocations: 0.7946 MB / 0.6289 GB, free: 25.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002672/0.4487, allocations: 64.98 kB / 0.629 GB, free: 25.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.4488, allocations: 116 kB / 0.6291 GB, free: 25.58 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/0.4488, allocations: 3.938 kB / 0.6291 GB, free: 25.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.047/0.4958, allocations: 9.516 MB / 0.6384 GB, free: 24.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/0.496, allocations: 210.7 kB / 0.6386 GB, free: 24.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.306, allocations: 3.938 kB / 0.6386 GB, free: 24.47 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)