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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.001206/0.001206, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001125/0.001125, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.047/1.047, allocations: 143.3 MB / 434.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.0003341, allocations: 11.98 kB / 0.5159 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.189, allocations: 83.41 MB / 0.5973 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.4395/0.6285, allocations: 12.1 MB / 0.6092 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005577/0.6342, allocations: 3.174 MB / 0.6123 GB, free: 35.13 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007347/0.635, allocations: 16.53 kB / 0.6123 GB, free: 35.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007531/0.6357, allocations: 208.3 kB / 0.6125 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001937/0.6377, allocations: 0.5829 MB / 0.613 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.6392, allocations: 461 kB / 0.6135 GB, free: 35.01 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001128/0.6403, allocations: 0.6565 MB / 0.6141 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003867/0.6407, allocations: 238.5 kB / 0.6144 GB, free: 34.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004337/0.6412, allocations: 274 kB / 0.6146 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.6414, allocations: 195.6 kB / 0.6148 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.6415, allocations: 12.97 kB / 0.6148 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005977/0.6421, allocations: 175.2 kB / 0.615 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.315e-05/0.6422, allocations: 67.7 kB / 0.615 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.875e-05/0.6423, allocations: 99.89 kB / 0.6151 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004625/0.6427, allocations: 442.3 kB / 0.6156 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6427, allocations: 0 / 0.6156 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6428, allocations: 0 / 0.6156 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.6428, allocations: 0 / 0.6156 GB, free: 34.76 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.001016/0.6438, allocations: 0.6853 MB / 0.6162 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.6438, allocations: 8.906 kB / 0.6162 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.847e-05/0.6439, allocations: 62.27 kB / 0.6163 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.6441, allocations: 56.08 kB / 0.6164 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005784/0.6447, allocations: 419.4 kB / 0.6168 GB, free: 33.94 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.6447, allocations: 17.53 kB / 0.6168 GB, free: 33.94 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/0.6448, allocations: 34.53 kB / 0.6168 GB, free: 33.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005385/0.6453, allocations: 312.4 kB / 0.6171 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.6453, allocations: 0 / 0.6171 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.6454, allocations: 13.97 kB / 0.6171 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.6454, allocations: 17.14 kB / 0.6171 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004228/0.6458, allocations: 206.3 kB / 0.6173 GB, free: 33.84 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.001588/0.6474, allocations: 1.497 MB / 0.6188 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.6478, allocations: 166.7 kB / 0.6189 GB, free: 32.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.648, allocations: 94.48 kB / 0.619 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002753/0.6483, allocations: 132.9 kB / 0.6192 GB, free: 32.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.773e-06/0.6483, allocations: 3 kB / 0.6192 GB, free: 32.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006181/0.6489, allocations: 248.6 kB / 0.6194 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.649, allocations: 51.97 kB / 0.6195 GB, free: 32.56 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003543/0.6494, allocations: 359.1 kB / 0.6198 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.6494, allocations: 32.58 kB / 0.6198 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.6495, allocations: 210 kB / 0.62 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.6496, allocations: 57.56 kB / 0.6201 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.274e-05/0.6496, allocations: 10.59 kB / 0.6201 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.281e-05/0.6497, allocations: 340.7 kB / 0.6204 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.6498, allocations: 78.3 kB / 0.6205 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.65, allocations: 150.9 kB / 0.6206 GB, free: 31.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.6503, allocations: 123.5 kB / 0.6208 GB, free: 31.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.6503, allocations: 0 / 0.6208 GB, free: 31.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005153/0.6508, allocations: 321.3 kB / 0.6211 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/0.6508, allocations: 39.05 kB / 0.6211 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.6508, allocations: 2.875 kB / 0.6211 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.6509, allocations: 5.531 kB / 0.6211 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.6511, allocations: 53.91 kB / 0.6212 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.6511, allocations: 11.86 kB / 0.6212 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.6514, allocations: 48.83 kB / 0.6212 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.6514, allocations: 12.72 kB / 0.6212 GB, free: 31.36 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.6516, allocations: 157.8 kB / 0.6214 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.6516, allocations: 30.5 kB / 0.6214 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004285/0.6521, allocations: 209.4 kB / 0.6216 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.6521, allocations: 0 / 0.6216 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.6521, allocations: 0.5625 kB / 0.6216 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003898/0.6525, allocations: 0.4906 MB / 0.6221 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.6529, allocations: 353.3 kB / 0.6224 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.6529, allocations: 3.281 kB / 0.6224 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.6531, allocations: 30.47 kB / 0.6225 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.6531, allocations: 3.938 kB / 0.6225 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.6531, allocations: 7.281 kB / 0.6225 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.6531, allocations: 9.828 kB / 0.6225 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6531, allocations: 0 / 0.6225 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005484/0.6537, allocations: 301.8 kB / 0.6228 GB, free: 30.22 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.6538, allocations: 133.9 kB / 0.6229 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.6539, allocations: 3.031 kB / 0.6229 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.6541, allocations: 26.22 kB / 0.6229 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.316e-05/0.6542, allocations: 20.48 kB / 0.6229 GB, free: 30.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.6542, allocations: 9.328 kB / 0.6229 GB, free: 30.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002172/0.6544, allocations: 250 kB / 0.6232 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.12e-07/0.6544, allocations: 0 / 0.6232 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000451/0.6549, allocations: 139.3 kB / 0.6233 GB, free: 29.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009265/0.6558, allocations: 0.9231 MB / 0.6242 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004648/0.6563, allocations: 242.2 kB / 0.6245 GB, free: 29.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6563, allocations: 0 / 0.6245 GB, free: 29.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.6565, allocations: 78.66 kB / 0.6245 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009442/0.6575, allocations: 194.7 kB / 0.6247 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.6608, allocations: 3.678 MB / 0.6283 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.661, allocations: 0.7987 MB / 0.6291 GB, free: 25.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003101/0.6614, allocations: 72.23 kB / 0.6292 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.6615, allocations: 114.5 kB / 0.6293 GB, free: 25.52 MB / 0.4981 GB Notification: Performance of SimCode: time 1.252e-06/0.6615, allocations: 0 / 0.6293 GB, free: 25.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.6849, allocations: 10.16 MB / 0.6392 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/0.6851, allocations: 190.5 kB / 0.6394 GB, free: 24.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.625, allocations: 4 kB / 0.6394 GB, free: 24.42 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/linux/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) Environment - environmentSimulation: