Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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: translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 105.2 kB / 16.27 MB, free: 5.98 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.002186/0.002186, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.482/1.482, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8244/0.8244, allocations: 135.1 MB / 426.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 59.91 kB / 0.506 GB, free: 8.426 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.437, allocations: 80.91 MB / 0.585 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01204/0.449, allocations: 14.43 MB / 0.5991 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004445/0.4535, allocations: 3.635 MB / 0.6026 GB, free: 8.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004709/0.454, allocations: 15.94 kB / 0.6027 GB, free: 8.465 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006033/0.4547, allocations: 209.1 kB / 0.6029 GB, free: 8.262 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.4559, allocations: 0.5858 MB / 0.6034 GB, free: 7.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007324/0.4566, allocations: 391.5 kB / 0.6038 GB, free: 7.305 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008618/0.4575, allocations: 1.081 MB / 0.6049 GB, free: 6.223 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003609/0.4579, allocations: 324.3 kB / 0.6052 GB, free: 5.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008285/0.4587, allocations: 393.2 kB / 0.6055 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.459, allocations: 306.6 kB / 0.6058 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.001e-05/0.4591, allocations: 32 kB / 0.6059 GB, free: 5.199 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004499/0.4595, allocations: 259.5 kB / 0.6061 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.964e-05/0.4596, allocations: 96.72 kB / 0.6062 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.4598, allocations: 218.9 kB / 0.6064 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006041/0.4604, allocations: 0.5831 MB / 0.607 GB, free: 4.055 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4604, allocations: 3.938 kB / 0.607 GB, free: 4.051 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4604, allocations: 0 / 0.607 GB, free: 4.051 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.413e-06/0.4604, allocations: 1.406 kB / 0.607 GB, free: 4.051 MB / 446.1 MB 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.0009737/0.4614, allocations: 0.7484 MB / 0.6077 GB, free: 3.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.4615, allocations: 10.73 kB / 0.6077 GB, free: 3.242 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.4616, allocations: 52.38 kB / 0.6078 GB, free: 3.191 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005553/0.4622, allocations: 443.9 kB / 0.6082 GB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.4622, allocations: 20.55 kB / 0.6082 GB, free: 2.695 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.98e-05/0.4623, allocations: 37 kB / 0.6083 GB, free: 2.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004731/0.4628, allocations: 307.8 kB / 0.6086 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.4628, allocations: 3.938 kB / 0.6086 GB, free: 2.336 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.4628, allocations: 17.98 kB / 0.6086 GB, free: 2.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.4628, allocations: 8 kB / 0.6086 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.4633, allocations: 190.1 kB / 0.6088 GB, free: 2.125 MB / 446.1 MB 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.001378/0.4646, allocations: 1.486 MB / 0.6102 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/0.4651, allocations: 160.4 kB / 0.6104 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.4652, allocations: 66.53 kB / 0.6104 GB, free: 292 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.4653, allocations: 97.08 kB / 0.6105 GB, free: 176 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.4656, allocations: 127.8 kB / 0.6106 GB, free: 36 kB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.844e-06/0.4656, allocations: 2.062 kB / 0.6106 GB, free: 36 kB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006653/0.4663, allocations: 235.8 kB / 0.6109 GB, free: 15.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.4663, allocations: 51.91 kB / 0.6109 GB, free: 15.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.4667, allocations: 354.4 kB / 0.6113 GB, free: 15.38 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.4667, allocations: 33.69 kB / 0.6113 GB, free: 15.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.4669, allocations: 224.9 kB / 0.6115 GB, free: 15.12 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.282e-05/0.467, allocations: 47.36 kB / 0.6116 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.488e-05/0.4671, allocations: 56.02 kB / 0.6116 GB, free: 15.01 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4672, allocations: 338.8 kB / 0.6119 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.4674, allocations: 71.94 kB / 0.612 GB, free: 14.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.4676, allocations: 144.4 kB / 0.6121 GB, free: 14.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004112/0.4681, allocations: 242.9 kB / 0.6124 GB, free: 14.15 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4681, allocations: 4 kB / 0.6124 GB, free: 14.15 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005968/0.4687, allocations: 317.1 kB / 0.6127 GB, free: 13.83 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/0.4687, allocations: 37.64 kB / 0.6127 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4687, allocations: 4 kB / 0.6127 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.4688, allocations: 4 kB / 0.6127 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.469, allocations: 55.91 kB / 0.6128 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.469, allocations: 4 kB / 0.6128 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.4693, allocations: 35.67 kB / 0.6128 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.4693, allocations: 11.98 kB / 0.6128 GB, free: 13.67 MB / 462.1 MB 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.0001667/0.4695, allocations: 158.7 kB / 0.613 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.696e-05/0.4695, allocations: 39.56 kB / 0.613 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00046/0.47, allocations: 188.5 kB / 0.6132 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.47, allocations: 4 kB / 0.6132 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.47, allocations: 3.938 kB / 0.6132 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005057/0.4705, allocations: 491.6 kB / 0.6137 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.471, allocations: 349.4 kB / 0.614 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.471, allocations: 0 / 0.614 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.4712, allocations: 35.97 kB / 0.614 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.4712, allocations: 3.938 kB / 0.614 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.4712, allocations: 8 kB / 0.614 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4712, allocations: 0 / 0.614 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4712, allocations: 0 / 0.614 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006381/0.4719, allocations: 295.4 kB / 0.6143 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.472, allocations: 128.6 kB / 0.6144 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.275e-05/0.4721, allocations: 11.94 kB / 0.6145 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.4723, allocations: 11.98 kB / 0.6145 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.907e-05/0.4724, allocations: 19.97 kB / 0.6145 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.4724, allocations: 4 kB / 0.6145 GB, free: 11.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002657/0.4727, allocations: 251.2 kB / 0.6147 GB, free: 11.53 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4727, allocations: 4 kB / 0.6147 GB, free: 11.53 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004438/0.4732, allocations: 124.1 kB / 0.6149 GB, free: 11.41 MB / 462.1 MB 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.0003381/0.4735, allocations: 187.1 kB / 0.615 GB, free: 11.21 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005363/0.474, allocations: 243.6 kB / 0.6153 GB, free: 10.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.4741, allocations: 64 / 0.6153 GB, free: 10.96 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.4743, allocations: 75.89 kB / 0.6153 GB, free: 10.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000951/0.4752, allocations: 207.8 kB / 0.6155 GB, free: 10.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.4767, allocations: 0.7754 MB / 0.6163 GB, free: 9.891 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.477, allocations: 0.7957 MB / 0.6171 GB, free: 9.066 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.856e-05/0.4771, allocations: 31.44 kB / 0.6171 GB, free: 9.035 MB / 462.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4771, allocations: 0 / 0.6171 GB, free: 9.035 MB / 462.1 MB Notification: Performance of Templates: time 0.009912/0.487, allocations: 6.159 MB / 0.6231 GB, free: 2.938 MB / 462.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)