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.7135/0.7135, allocations: 127.4 MB / 134.9 MB, free: 3.766 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.001115/0.001115, allocations: 184.8 kB / 164.7 MB, free: 6.516 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.631/1.631, allocations: 205.2 MB / 399.5 MB, free: 5.848 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.0009297/0.0009298, allocations: 92.41 kB / 476.7 MB, free: 8.578 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.962e-05/1.965e-05, allocations: 0 / 0.5467 GB, free: 60.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1624, allocations: 76.75 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.211/1.374, allocations: 355.1 MB / 0.9684 GB, free: 164.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/1.374, allocations: 88.38 kB / 0.9685 GB, free: 164.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1822/1.556, allocations: 98.83 MB / 1.065 GB, free: 73.5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.222e-06/1.556, allocations: 0 / 1.065 GB, free: 73.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.537e-05/1.556, allocations: 8 kB / 1.065 GB, free: 73.49 MB / 0.6355 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.0009446/1.557, allocations: 0.6694 MB / 1.066 GB, free: 72.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/1.557, allocations: 8.031 kB / 1.066 GB, free: 72.76 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/1.557, allocations: 43.53 kB / 1.066 GB, free: 72.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01167/1.569, allocations: 6.459 MB / 1.072 GB, free: 66.15 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/1.569, allocations: 8 kB / 1.072 GB, free: 66.14 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.684e-05/1.569, allocations: 16 kB / 1.072 GB, free: 66.13 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002913/1.569, allocations: 141.1 kB / 1.072 GB, free: 65.99 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/1.57, allocations: 245.1 kB / 1.072 GB, free: 65.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/1.57, allocations: 4 kB / 1.072 GB, free: 65.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/1.57, allocations: 0 / 1.072 GB, free: 65.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/1.57, allocations: 8 kB / 1.072 GB, free: 65.72 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/1.571, allocations: 1.407 MB / 1.074 GB, free: 64.19 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/1.572, allocations: 118.6 kB / 1.074 GB, free: 64.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.753e-05/1.572, allocations: 52.36 kB / 1.074 GB, free: 64.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/1.572, allocations: 89.09 kB / 1.074 GB, free: 63.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/1.572, allocations: 101 kB / 1.074 GB, free: 63.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.894e-06/1.572, allocations: 4 kB / 1.074 GB, free: 63.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0002972/1.572, allocations: 147.8 kB / 1.074 GB, free: 63.65 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/1.572, allocations: 51.41 kB / 1.074 GB, free: 63.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/1.572, allocations: 277 kB / 1.075 GB, free: 63.31 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/1.573, allocations: 29.7 kB / 1.075 GB, free: 63.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.145e-05/1.573, allocations: 211.8 kB / 1.075 GB, free: 63.06 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/1.573, allocations: 51.3 kB / 1.075 GB, free: 63.01 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/1.573, allocations: 0 / 1.075 GB, free: 63.01 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.025e-05/1.573, allocations: 342.8 kB / 1.075 GB, free: 62.67 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.219e-05/1.573, allocations: 40.23 kB / 1.075 GB, free: 62.62 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/1.573, allocations: 125.7 kB / 1.075 GB, free: 62.47 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/1.573, allocations: 74.64 kB / 1.075 GB, free: 62.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.573, allocations: 0 / 1.075 GB, free: 62.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003328/1.573, allocations: 229 kB / 1.076 GB, free: 62.17 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/1.573, allocations: 33.7 kB / 1.076 GB, free: 62.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.574, allocations: 0 / 1.076 GB, free: 62.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/1.574, allocations: 4.312 kB / 1.076 GB, free: 62.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/1.574, allocations: 63.91 kB / 1.076 GB, free: 62.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/1.574, allocations: 11.92 kB / 1.076 GB, free: 62.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/1.574, allocations: 39.67 kB / 1.076 GB, free: 62.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/1.574, allocations: 11.94 kB / 1.076 GB, free: 62 MB / 0.6355 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 () * 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 6.907e-05/1.574, allocations: 116.9 kB / 1.076 GB, free: 61.88 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001895/1.574, allocations: 137.4 kB / 1.076 GB, free: 61.74 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/1.574, allocations: 31.61 kB / 1.076 GB, free: 61.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/1.575, allocations: 152.5 kB / 1.076 GB, free: 61.55 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.575, allocations: 7.953 kB / 1.076 GB, free: 61.54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.575, allocations: 0 / 1.076 GB, free: 61.54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002055/1.575, allocations: 446.4 kB / 1.077 GB, free: 61.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/1.575, allocations: 297.9 kB / 1.077 GB, free: 60.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.575, allocations: 4 kB / 1.077 GB, free: 60.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/1.575, allocations: 47.91 kB / 1.077 GB, free: 60.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.575, allocations: 0 / 1.077 GB, free: 60.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/1.575, allocations: 0 / 1.077 GB, free: 60.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.575, allocations: 0 / 1.077 GB, free: 60.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.575, allocations: 0 / 1.077 GB, free: 60.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/1.576, allocations: 229.7 kB / 1.077 GB, free: 60.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/1.576, allocations: 124.7 kB / 1.077 GB, free: 60.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/1.576, allocations: 0 / 1.077 GB, free: 60.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/1.576, allocations: 19.98 kB / 1.077 GB, free: 60.24 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/1.576, allocations: 19.97 kB / 1.077 GB, free: 60.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/1.576, allocations: 7.984 kB / 1.077 GB, free: 60.21 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001536/1.576, allocations: 212.6 kB / 1.078 GB, free: 60.01 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/1.576, allocations: 0 / 1.078 GB, free: 60.01 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004221/1.577, allocations: 124 kB / 1.078 GB, free: 59.89 MB / 0.6355 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) * 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.0007267/1.577, allocations: 0.898 MB / 1.079 GB, free: 58.96 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002307/1.578, allocations: 190.1 kB / 1.079 GB, free: 58.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.578, allocations: 0 / 1.079 GB, free: 58.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.107e-05/1.578, allocations: 59.98 kB / 1.079 GB, free: 58.71 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008282/1.579, allocations: 165.7 kB / 1.079 GB, free: 58.55 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/1.58, allocations: 0.6244 MB / 1.08 GB, free: 57.89 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/1.58, allocations: 0.7952 MB / 1.08 GB, free: 57.07 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002329/1.58, allocations: 67.19 kB / 1.08 GB, free: 57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/1.58, allocations: 111.4 kB / 1.081 GB, free: 56.89 MB / 0.6355 GB Notification: Performance of SimCode: time 2.7e-07/1.58, allocations: 0 / 1.081 GB, free: 56.89 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/1.607, allocations: 8.876 MB / 1.089 GB, free: 48.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001531/1.608, allocations: 149.4 kB / 1.089 GB, free: 47.89 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/3.695, allocations: 0 / 1.089 GB, free: 47.89 MB / 0.6355 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)