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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.8001/0.8001, allocations: 128.7 MB / 143.7 MB, free: 2.352 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001235/0.001235, allocations: 180.4 kB / 173.7 MB, free: 6.137 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 90.06 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003355, allocations: 8.969 kB / 0.5604 GB, free: 97.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1925, allocations: 76.77 MB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.883/1.076, allocations: 355.6 MB / 0.9826 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004593/1.076, allocations: 93.62 kB / 0.9827 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.5765/1.653, allocations: 99.63 MB / 1.08 GB, free: 175.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.234e-06/1.653, allocations: 4 kB / 1.08 GB, free: 175.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.002e-05/1.653, allocations: 8 kB / 1.08 GB, free: 175.3 MB / 0.6511 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.001227/1.654, allocations: 0.7282 MB / 1.081 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/1.654, allocations: 8.031 kB / 1.081 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.859e-05/1.654, allocations: 62.53 kB / 1.081 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/1.654, allocations: 43.53 kB / 1.081 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01168/1.666, allocations: 6.528 MB / 1.087 GB, free: 167.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/1.666, allocations: 20.56 kB / 1.087 GB, free: 167.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.251e-05/1.666, allocations: 28 kB / 1.087 GB, free: 167.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006993/1.667, allocations: 306.2 kB / 1.088 GB, free: 167.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/1.667, allocations: 7.953 kB / 1.088 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/1.667, allocations: 11.98 kB / 1.088 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/1.667, allocations: 8 kB / 1.088 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/1.667, allocations: 202 kB / 1.088 GB, free: 167.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/1.669, allocations: 1.458 MB / 1.089 GB, free: 165.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/1.67, allocations: 178.5 kB / 1.089 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/1.67, allocations: 89.09 kB / 1.089 GB, free: 165.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002559/1.67, allocations: 127.3 kB / 1.09 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 3.546e-06/1.67, allocations: 0 / 1.09 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0005823/1.671, allocations: 246.8 kB / 1.09 GB, free: 164.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/1.671, allocations: 55.41 kB / 1.09 GB, free: 164.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/1.671, allocations: 312.9 kB / 1.09 GB, free: 164.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/1.671, allocations: 29.64 kB / 1.09 GB, free: 164.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/1.671, allocations: 219.7 kB / 1.09 GB, free: 164.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/1.671, allocations: 51.27 kB / 1.09 GB, free: 164.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/1.671, allocations: 8 kB / 1.09 GB, free: 164.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001004/1.671, allocations: 338.8 kB / 1.091 GB, free: 163.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/1.671, allocations: 72.19 kB / 1.091 GB, free: 163.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/1.672, allocations: 152.1 kB / 1.091 GB, free: 163.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/1.672, allocations: 117.6 kB / 1.091 GB, free: 163.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/1.672, allocations: 7.953 kB / 1.091 GB, free: 163.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005177/1.672, allocations: 309.2 kB / 1.091 GB, free: 163.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.826e-05/1.672, allocations: 38.02 kB / 1.091 GB, free: 163.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.672, allocations: 4 kB / 1.091 GB, free: 163.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/1.673, allocations: 4 kB / 1.091 GB, free: 163.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/1.673, allocations: 63.84 kB / 1.092 GB, free: 163 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/1.673, allocations: 4 kB / 1.092 GB, free: 163 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/1.673, allocations: 43.67 kB / 1.092 GB, free: 163 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/1.673, allocations: 12 kB / 1.092 GB, free: 163 MB / 0.6511 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 (28): * Single equations (assignments): 27 * 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.0001509/1.673, allocations: 157.8 kB / 1.092 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/1.673, allocations: 31.62 kB / 1.092 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004356/1.674, allocations: 204.5 kB / 1.092 GB, free: 162.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.674, allocations: 3.938 kB / 1.092 GB, free: 162.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.674, allocations: 3.953 kB / 1.092 GB, free: 162.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003888/1.674, allocations: 497.7 kB / 1.092 GB, free: 162 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/1.674, allocations: 341.4 kB / 1.093 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.674, allocations: 0 / 1.093 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/1.675, allocations: 39.92 kB / 1.093 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/1.675, allocations: 0 / 1.093 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/1.675, allocations: 4 kB / 1.093 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/1.675, allocations: 3.938 kB / 1.093 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.675, allocations: 0 / 1.093 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000543/1.675, allocations: 308.4 kB / 1.093 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/1.675, allocations: 120.8 kB / 1.093 GB, free: 161.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/1.675, allocations: 7.984 kB / 1.093 GB, free: 161.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/1.676, allocations: 23.92 kB / 1.093 GB, free: 161.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-05/1.676, allocations: 19.97 kB / 1.093 GB, free: 161 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/1.676, allocations: 4 kB / 1.093 GB, free: 161 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002002/1.676, allocations: 247.2 kB / 1.094 GB, free: 160.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.71e-07/1.676, allocations: 0 / 1.094 GB, free: 160.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004971/1.676, allocations: 136 kB / 1.094 GB, free: 160.7 MB / 0.6511 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.0009726/1.677, allocations: 0.9704 MB / 1.095 GB, free: 159.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004262/1.678, allocations: 239.6 kB / 1.095 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.678, allocations: 0 / 1.095 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/1.678, allocations: 71.91 kB / 1.095 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008768/1.679, allocations: 191.5 kB / 1.095 GB, free: 159.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/1.682, allocations: 3.637 MB / 1.099 GB, free: 155.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/1.683, allocations: 0.7955 MB / 1.099 GB, free: 154.6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003377/1.683, allocations: 63.19 kB / 1.099 GB, free: 154.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/1.683, allocations: 115.4 kB / 1.1 GB, free: 154.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.112e-06/1.683, allocations: 0 / 1.1 GB, free: 154.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/1.709, allocations: 10.61 MB / 1.11 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/1.709, allocations: 187.6 kB / 1.11 GB, free: 143.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.324/4.034, allocations: 0 / 1.11 GB, free: 143.8 MB / 0.6511 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)