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.001029/0.001029, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00105/0.00105, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.379/1.379, allocations: 222.9 MB / 239.9 MB, free: 4.535 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 1.012/1.012, allocations: 143 MB / 433.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.91 kB / 0.5138 GB, free: 11.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1849, allocations: 82.04 MB / 0.5939 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.368/0.5529, allocations: 14.35 MB / 0.6079 GB, free: 36.49 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004832/0.5578, allocations: 3.627 MB / 0.6114 GB, free: 35.49 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005929/0.5584, allocations: 18.34 kB / 0.6115 GB, free: 35.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006922/0.5591, allocations: 175.7 kB / 0.6116 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001513/0.5607, allocations: 0.5487 MB / 0.6122 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009307/0.5616, allocations: 349.6 kB / 0.6125 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0012/0.5629, allocations: 1.099 MB / 0.6136 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004279/0.5633, allocations: 325.9 kB / 0.6139 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.5643, allocations: 382.5 kB / 0.6143 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003431/0.5647, allocations: 319 kB / 0.6146 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.028e-05/0.5647, allocations: 31.41 kB / 0.6146 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005839/0.5653, allocations: 268.8 kB / 0.6148 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.5654, allocations: 100.6 kB / 0.6149 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.5657, allocations: 206.8 kB / 0.6151 GB, free: 34.6 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007202/0.5664, allocations: 0.6042 MB / 0.6157 GB, free: 34.49 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.5664, allocations: 1.969 kB / 0.6157 GB, free: 34.49 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5664, allocations: 0 / 0.6157 GB, free: 34.49 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.5664, allocations: 0 / 0.6157 GB, free: 34.49 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.001148/0.5676, allocations: 0.7529 MB / 0.6165 GB, free: 33.94 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.5676, allocations: 15.06 kB / 0.6165 GB, free: 33.93 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.789e-05/0.5677, allocations: 62.53 kB / 0.6165 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.5679, allocations: 48.97 kB / 0.6166 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006644/0.5686, allocations: 475.5 kB / 0.617 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.5686, allocations: 27.11 kB / 0.6171 GB, free: 33.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.204e-05/0.5687, allocations: 25.19 kB / 0.6171 GB, free: 33.49 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005545/0.5693, allocations: 313.5 kB / 0.6174 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.5693, allocations: 0 / 0.6174 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/0.5694, allocations: 10.84 kB / 0.6174 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.5694, allocations: 7.75 kB / 0.6174 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004376/0.5698, allocations: 192 kB / 0.6176 GB, free: 33.27 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.001537/0.5714, allocations: 1.479 MB / 0.619 GB, free: 32.08 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000407/0.5718, allocations: 162.5 kB / 0.6192 GB, free: 32.01 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.572, allocations: 69.88 kB / 0.6193 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.5721, allocations: 87.02 kB / 0.6193 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000272/0.5724, allocations: 128.8 kB / 0.6195 GB, free: 31.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.5724, allocations: 0 / 0.6195 GB, free: 31.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005843/0.573, allocations: 240.3 kB / 0.6197 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.573, allocations: 54.09 kB / 0.6197 GB, free: 31.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.5733, allocations: 335.8 kB / 0.6201 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.5734, allocations: 32.61 kB / 0.6201 GB, free: 31.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.5735, allocations: 223.7 kB / 0.6203 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/0.5736, allocations: 49.84 kB / 0.6203 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.099e-05/0.5736, allocations: 50.86 kB / 0.6204 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.568e-05/0.5737, allocations: 344.3 kB / 0.6207 GB, free: 30.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.5739, allocations: 65.3 kB / 0.6208 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.5741, allocations: 158.8 kB / 0.6209 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.5745, allocations: 239.8 kB / 0.6212 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5745, allocations: 6.469 kB / 0.6212 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005364/0.575, allocations: 308.4 kB / 0.6215 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/0.5751, allocations: 38.2 kB / 0.6215 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.5751, allocations: 0 / 0.6215 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.5751, allocations: 11.16 kB / 0.6215 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.5753, allocations: 61.22 kB / 0.6216 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.5754, allocations: 6.188 kB / 0.6216 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/0.5756, allocations: 33.48 kB / 0.6216 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.5757, allocations: 8.781 kB / 0.6216 GB, free: 30.32 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.000143/0.5758, allocations: 156.9 kB / 0.6218 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.5759, allocations: 40.91 kB / 0.6218 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004241/0.5763, allocations: 196.3 kB / 0.622 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.5763, allocations: 6.781 kB / 0.622 GB, free: 30.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.5763, allocations: 0 / 0.622 GB, free: 30.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003826/0.5767, allocations: 482.4 kB / 0.6225 GB, free: 29.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.5771, allocations: 349.7 kB / 0.6228 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5771, allocations: 5.312 kB / 0.6228 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.5773, allocations: 31.23 kB / 0.6228 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5773, allocations: 0 / 0.6228 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.5773, allocations: 6.531 kB / 0.6228 GB, free: 29.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.5773, allocations: 3.938 kB / 0.6228 GB, free: 29.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5773, allocations: 6.844 kB / 0.6228 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005623/0.5779, allocations: 286.5 kB / 0.6231 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.578, allocations: 123.8 kB / 0.6232 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.5781, allocations: 0 / 0.6232 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.5783, allocations: 28.53 kB / 0.6233 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.5784, allocations: 18.23 kB / 0.6233 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.5784, allocations: 10.22 kB / 0.6233 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002059/0.5787, allocations: 234.8 kB / 0.6235 GB, free: 28.92 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5787, allocations: 0 / 0.6235 GB, free: 28.92 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004499/0.5791, allocations: 118.7 kB / 0.6236 GB, free: 28.89 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.0009342/0.5801, allocations: 0.909 MB / 0.6245 GB, free: 28.19 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004542/0.5805, allocations: 235.2 kB / 0.6247 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5805, allocations: 2.812 kB / 0.6247 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.5807, allocations: 69.09 kB / 0.6248 GB, free: 28.06 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009067/0.5816, allocations: 214 kB / 0.625 GB, free: 28.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.5855, allocations: 3.143 MB / 0.6281 GB, free: 25.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.5858, allocations: 0.7956 MB / 0.6289 GB, free: 25.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004/0.5862, allocations: 67.86 kB / 0.6289 GB, free: 25.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.5864, allocations: 117.6 kB / 0.629 GB, free: 25.05 MB / 0.4981 GB Notification: Performance of SimCode: time 1.563e-06/0.5864, allocations: 2.438 kB / 0.629 GB, free: 25.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.6101, allocations: 9.793 MB / 0.6386 GB, free: 24.19 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/0.6103, allocations: 204.4 kB / 0.6388 GB, free: 23.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.531, allocations: 4 kB / 0.6388 GB, free: 23.93 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)