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.7138/0.7138, allocations: 127.3 MB / 139.8 MB, free: 15.41 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 180.8 kB / 169.7 MB, free: 1.727 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.706/1.706, allocations: 205.1 MB / 404.5 MB, free: 1.574 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.001004/0.001004, allocations: 86.16 kB / 481.8 MB, free: 4.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.034e-05/4.078e-05, allocations: 8 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1634, allocations: 76.76 MB / 0.6282 GB, free: 9.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.178/1.342, allocations: 355.5 MB / 0.9754 GB, free: 156.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/1.342, allocations: 86.39 kB / 0.9755 GB, free: 156.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1908/1.533, allocations: 99.31 MB / 1.072 GB, free: 63.21 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/1.533, allocations: 0 / 1.072 GB, free: 63.21 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.852e-05/1.533, allocations: 8 kB / 1.072 GB, free: 63.2 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.001178/1.534, allocations: 0.6617 MB / 1.073 GB, free: 62.49 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/1.534, allocations: 15.91 kB / 1.073 GB, free: 62.48 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.784e-05/1.534, allocations: 62.53 kB / 1.073 GB, free: 62.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002455/1.534, allocations: 47.53 kB / 1.073 GB, free: 62.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01289/1.547, allocations: 6.471 MB / 1.08 GB, free: 55.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.646e-05/1.547, allocations: 24.55 kB / 1.08 GB, free: 55.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/1.547, allocations: 24 kB / 1.08 GB, free: 55.74 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/1.548, allocations: 278.3 kB / 1.08 GB, free: 55.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/1.548, allocations: 7.891 kB / 1.08 GB, free: 55.44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.245e-05/1.548, allocations: 15.98 kB / 1.08 GB, free: 55.42 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/1.548, allocations: 8 kB / 1.08 GB, free: 55.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/1.549, allocations: 154.2 kB / 1.08 GB, free: 55.26 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002236/1.551, allocations: 1.469 MB / 1.081 GB, free: 53.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/1.551, allocations: 138.6 kB / 1.082 GB, free: 53.52 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.629e-05/1.551, allocations: 48.86 kB / 1.082 GB, free: 53.47 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/1.551, allocations: 85.09 kB / 1.082 GB, free: 53.37 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/1.552, allocations: 108.1 kB / 1.082 GB, free: 53.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 3.246e-06/1.552, allocations: 0 / 1.082 GB, free: 53.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0005052/1.552, allocations: 146.8 kB / 1.082 GB, free: 53.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/1.552, allocations: 59.34 kB / 1.082 GB, free: 53.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/1.553, allocations: 307.5 kB / 1.082 GB, free: 52.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/1.553, allocations: 29.7 kB / 1.082 GB, free: 52.69 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/1.553, allocations: 211.9 kB / 1.083 GB, free: 52.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.603e-05/1.553, allocations: 51.3 kB / 1.083 GB, free: 52.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.492e-05/1.553, allocations: 8 kB / 1.083 GB, free: 52.42 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001164/1.553, allocations: 334.8 kB / 1.083 GB, free: 52.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/1.553, allocations: 56.22 kB / 1.083 GB, free: 52.03 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/1.553, allocations: 129.9 kB / 1.083 GB, free: 51.87 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/1.554, allocations: 104.5 kB / 1.083 GB, free: 51.76 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.554, allocations: 0 / 1.083 GB, free: 51.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004966/1.554, allocations: 267 kB / 1.083 GB, free: 51.49 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/1.554, allocations: 39.3 kB / 1.084 GB, free: 51.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.554, allocations: 0 / 1.084 GB, free: 51.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/1.554, allocations: 7.953 kB / 1.084 GB, free: 51.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/1.554, allocations: 59.91 kB / 1.084 GB, free: 51.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/1.554, allocations: 11.92 kB / 1.084 GB, free: 51.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003557/1.555, allocations: 39.73 kB / 1.084 GB, free: 51.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/1.555, allocations: 15.94 kB / 1.084 GB, free: 51.31 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 9.318e-05/1.555, allocations: 120.9 kB / 1.084 GB, free: 51.19 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/1.555, allocations: 35.61 kB / 1.084 GB, free: 51.15 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003059/1.555, allocations: 163.5 kB / 1.084 GB, free: 50.99 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/1.555, allocations: 4 kB / 1.084 GB, free: 50.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.555, allocations: 3.953 kB / 1.084 GB, free: 50.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000268/1.556, allocations: 451.7 kB / 1.084 GB, free: 50.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/1.556, allocations: 349.3 kB / 1.085 GB, free: 50.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/1.556, allocations: 4 kB / 1.085 GB, free: 50.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/1.556, allocations: 39.97 kB / 1.085 GB, free: 50.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/1.556, allocations: 0 / 1.085 GB, free: 50.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/1.556, allocations: 0 / 1.085 GB, free: 50.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/1.556, allocations: 0 / 1.085 GB, free: 50.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.556, allocations: 4 kB / 1.085 GB, free: 50.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/1.557, allocations: 232.6 kB / 1.085 GB, free: 49.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/1.557, allocations: 132.7 kB / 1.085 GB, free: 49.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.6e-05/1.557, allocations: 8 kB / 1.085 GB, free: 49.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/1.557, allocations: 15.97 kB / 1.085 GB, free: 49.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/1.557, allocations: 19.97 kB / 1.085 GB, free: 49.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/1.557, allocations: 4 kB / 1.085 GB, free: 49.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000217/1.558, allocations: 246.1 kB / 1.085 GB, free: 49.33 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/1.558, allocations: 0 / 1.085 GB, free: 49.33 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004809/1.558, allocations: 139.9 kB / 1.086 GB, free: 49.2 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.0007564/1.559, allocations: 0.9082 MB / 1.086 GB, free: 48.26 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002779/1.559, allocations: 207.1 kB / 1.087 GB, free: 48.05 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.559, allocations: 0 / 1.087 GB, free: 48.05 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.824e-05/1.559, allocations: 55.92 kB / 1.087 GB, free: 47.99 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008866/1.56, allocations: 201.9 kB / 1.087 GB, free: 47.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/1.561, allocations: 0.6371 MB / 1.087 GB, free: 47.13 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/1.561, allocations: 0.7916 MB / 1.088 GB, free: 46.31 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002687/1.562, allocations: 67.17 kB / 1.088 GB, free: 46.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/1.562, allocations: 111.4 kB / 1.088 GB, free: 46.14 MB / 0.6355 GB Notification: Performance of SimCode: time 3.71e-07/1.562, allocations: 0 / 1.088 GB, free: 46.14 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/1.588, allocations: 10.65 MB / 1.099 GB, free: 35.63 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/1.588, allocations: 155.8 kB / 1.099 GB, free: 35.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.202/3.79, allocations: 0 / 1.099 GB, free: 35.41 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)