Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001723/0.001723, allocations: 111.3 kB / 16.37 MB, free: 6.012 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.001645/0.001645, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7749/0.7749, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.91 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4281/0.4294, allocations: 80.18 MB / 0.5815 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01279/0.4423, allocations: 14.45 MB / 0.5956 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004417/0.4467, allocations: 3.633 MB / 0.5991 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005551/0.4473, allocations: 23.81 kB / 0.5992 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006161/0.4479, allocations: 205 kB / 0.5994 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.4492, allocations: 0.5872 MB / 0.5999 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007741/0.45, allocations: 386 kB / 0.6003 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009459/0.451, allocations: 1.093 MB / 0.6014 GB, free: 9.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003433/0.4513, allocations: 320 kB / 0.6017 GB, free: 9.461 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007963/0.4522, allocations: 395.2 kB / 0.6021 GB, free: 9.078 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/0.4524, allocations: 306.6 kB / 0.6023 GB, free: 8.777 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.351e-05/0.4525, allocations: 32 kB / 0.6024 GB, free: 8.746 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004873/0.453, allocations: 260 kB / 0.6026 GB, free: 8.492 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.978e-05/0.4531, allocations: 95.61 kB / 0.6027 GB, free: 8.398 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.4533, allocations: 211.6 kB / 0.6029 GB, free: 8.191 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000588/0.4539, allocations: 0.5994 MB / 0.6035 GB, free: 7.598 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4539, allocations: 4 kB / 0.6035 GB, free: 7.594 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4539, allocations: 0 / 0.6035 GB, free: 7.594 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.4539, allocations: 0 / 0.6035 GB, free: 7.594 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.0009441/0.4548, allocations: 0.7395 MB / 0.6042 GB, free: 6.801 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.4549, allocations: 8.031 kB / 0.6042 GB, free: 6.793 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.4551, allocations: 53.08 kB / 0.6043 GB, free: 6.742 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000612/0.4557, allocations: 471.5 kB / 0.6047 GB, free: 6.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.4557, allocations: 16.56 kB / 0.6048 GB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.833e-05/0.4558, allocations: 32 kB / 0.6048 GB, free: 6.203 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004843/0.4563, allocations: 308.2 kB / 0.6051 GB, free: 5.887 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.4563, allocations: 1.625 kB / 0.6051 GB, free: 5.887 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.4563, allocations: 12 kB / 0.6051 GB, free: 5.875 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.4563, allocations: 4 kB / 0.6051 GB, free: 5.871 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004088/0.4568, allocations: 195.1 kB / 0.6053 GB, free: 5.676 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.001444/0.4582, allocations: 1.491 MB / 0.6067 GB, free: 4.062 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.4586, allocations: 161.2 kB / 0.6069 GB, free: 3.898 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.4588, allocations: 60.83 kB / 0.6069 GB, free: 3.836 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.4589, allocations: 93.09 kB / 0.607 GB, free: 3.727 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.4592, allocations: 125.5 kB / 0.6072 GB, free: 3.594 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.783e-06/0.4592, allocations: 4 kB / 0.6072 GB, free: 3.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.000555/0.4597, allocations: 236 kB / 0.6074 GB, free: 3.355 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.4598, allocations: 51.41 kB / 0.6074 GB, free: 3.293 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.4601, allocations: 353.6 kB / 0.6078 GB, free: 2.938 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.4601, allocations: 29.7 kB / 0.6078 GB, free: 2.902 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.4602, allocations: 221.8 kB / 0.608 GB, free: 2.684 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.4603, allocations: 51.34 kB / 0.6081 GB, free: 2.633 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.127e-05/0.4603, allocations: 53.61 kB / 0.6081 GB, free: 2.574 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.893e-05/0.4604, allocations: 342.8 kB / 0.6084 GB, free: 2.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.4606, allocations: 68.58 kB / 0.6085 GB, free: 2.164 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.4608, allocations: 144.7 kB / 0.6086 GB, free: 1.992 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.4611, allocations: 254.9 kB / 0.6089 GB, free: 1.711 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.4611, allocations: 4 kB / 0.6089 GB, free: 1.707 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005036/0.4616, allocations: 320.2 kB / 0.6092 GB, free: 1.387 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.4617, allocations: 37.64 kB / 0.6092 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4617, allocations: 0 / 0.6092 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.4617, allocations: 11.8 kB / 0.6092 GB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.4619, allocations: 59.91 kB / 0.6093 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.462, allocations: 4 kB / 0.6093 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.4622, allocations: 35.67 kB / 0.6093 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.4622, allocations: 8 kB / 0.6093 GB, free: 1.23 MB / 446.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.0001492/0.4624, allocations: 157.8 kB / 0.6095 GB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.4625, allocations: 39.56 kB / 0.6095 GB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004232/0.4629, allocations: 195.4 kB / 0.6097 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.4629, allocations: 4 kB / 0.6097 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4629, allocations: 0 / 0.6097 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003973/0.4633, allocations: 487.6 kB / 0.6102 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.4638, allocations: 353.4 kB / 0.6105 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4638, allocations: 0 / 0.6105 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.464, allocations: 35.98 kB / 0.6106 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.464, allocations: 3.938 kB / 0.6106 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.464, allocations: 4 kB / 0.6106 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.464, allocations: 3.984 kB / 0.6106 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.464, allocations: 0 / 0.6106 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006081/0.4646, allocations: 283 kB / 0.6108 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.4648, allocations: 132.6 kB / 0.611 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.111e-05/0.4648, allocations: 8 kB / 0.611 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.4651, allocations: 15.97 kB / 0.611 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/0.4652, allocations: 11.98 kB / 0.611 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.4652, allocations: 11.98 kB / 0.611 GB, free: 15.33 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002546/0.4654, allocations: 251.2 kB / 0.6112 GB, free: 15.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4655, allocations: 0 / 0.6112 GB, free: 15.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004597/0.4659, allocations: 120.1 kB / 0.6114 GB, free: 14.97 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.0003997/0.4663, allocations: 207 kB / 0.6116 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004969/0.4668, allocations: 232.8 kB / 0.6118 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4668, allocations: 0 / 0.6118 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.467, allocations: 67.89 kB / 0.6118 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008765/0.4679, allocations: 217.4 kB / 0.6121 GB, free: 14.26 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.4694, allocations: 0.7308 MB / 0.6128 GB, free: 13.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.4698, allocations: 0.7957 MB / 0.6135 GB, free: 12.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000246/0.4701, allocations: 66.75 kB / 0.6136 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.689e-05/0.4702, allocations: 39.42 kB / 0.6136 GB, free: 12.58 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4702, allocations: 0 / 0.6136 GB, free: 12.58 MB / 462.1 MB Notification: Performance of Templates: time 0.01198/0.4822, allocations: 7.135 MB / 0.6206 GB, free: 5.559 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & ./IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)