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.001611/0.001611, allocations: 106.7 kB / 15.99 MB, free: 6.352 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.001428/0.001429, allocations: 188.5 kB / 16.91 MB, free: 6.188 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.334/1.334, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7738/0.7738, allocations: 132.2 MB / 422.9 MB, free: 6.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 59.91 kB / 0.5019 GB, free: 12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3773, allocations: 80.19 MB / 0.5802 GB, free: 26.97 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01239/0.3897, allocations: 14.39 MB / 0.5943 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004522/0.3943, allocations: 3.61 MB / 0.5978 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006152/0.395, allocations: 15.94 kB / 0.5978 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006209/0.3956, allocations: 171.1 kB / 0.598 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.397, allocations: 0.5487 MB / 0.5985 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008368/0.3978, allocations: 347.9 kB / 0.5988 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.3989, allocations: 1.115 MB / 0.5999 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000364/0.3992, allocations: 312.2 kB / 0.6002 GB, free: 9.883 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008426/0.4001, allocations: 392.7 kB / 0.6006 GB, free: 9.504 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.4004, allocations: 312 kB / 0.6009 GB, free: 9.199 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.519e-05/0.4005, allocations: 32 kB / 0.6009 GB, free: 9.168 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005134/0.401, allocations: 263.4 kB / 0.6012 GB, free: 8.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.254e-05/0.4011, allocations: 91.67 kB / 0.6013 GB, free: 8.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.4012, allocations: 221.2 kB / 0.6015 GB, free: 8.605 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004557/0.4017, allocations: 461 kB / 0.6019 GB, free: 8.156 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4017, allocations: 3.984 kB / 0.6019 GB, free: 8.152 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4017, allocations: 0 / 0.6019 GB, free: 8.152 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.4017, allocations: 7.875 kB / 0.6019 GB, free: 8.145 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.0009846/0.4027, allocations: 0.7408 MB / 0.6026 GB, free: 7.352 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.4028, allocations: 8.031 kB / 0.6026 GB, free: 7.344 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.403, allocations: 48.47 kB / 0.6027 GB, free: 7.297 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000576/0.4035, allocations: 483.5 kB / 0.6032 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.4036, allocations: 21.53 kB / 0.6032 GB, free: 6.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.4036, allocations: 24 kB / 0.6032 GB, free: 6.746 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004903/0.4041, allocations: 313.2 kB / 0.6035 GB, free: 6.426 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.4041, allocations: 7.891 kB / 0.6035 GB, free: 6.418 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.4042, allocations: 12 kB / 0.6035 GB, free: 6.406 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.4042, allocations: 8.781 kB / 0.6035 GB, free: 6.398 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/0.4046, allocations: 195.3 kB / 0.6037 GB, free: 6.207 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.001323/0.4059, allocations: 1.474 MB / 0.6051 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.4063, allocations: 159.6 kB / 0.6053 GB, free: 4.449 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.4065, allocations: 70.5 kB / 0.6054 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.4066, allocations: 89.09 kB / 0.6055 GB, free: 4.273 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.4069, allocations: 126.3 kB / 0.6056 GB, free: 4.141 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.893e-06/0.4069, allocations: 0 / 0.6056 GB, free: 4.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005548/0.4075, allocations: 237.1 kB / 0.6058 GB, free: 3.902 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.4075, allocations: 55.91 kB / 0.6059 GB, free: 3.836 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.4078, allocations: 339 kB / 0.6062 GB, free: 3.492 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.4078, allocations: 33.7 kB / 0.6062 GB, free: 3.453 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.4079, allocations: 215.7 kB / 0.6064 GB, free: 3.238 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.408, allocations: 53.67 kB / 0.6065 GB, free: 3.188 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/0.408, allocations: 53.7 kB / 0.6065 GB, free: 3.129 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.554e-05/0.4081, allocations: 342.8 kB / 0.6068 GB, free: 2.785 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.4083, allocations: 67.95 kB / 0.6069 GB, free: 2.719 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.4085, allocations: 148.3 kB / 0.607 GB, free: 2.543 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.4089, allocations: 248.9 kB / 0.6073 GB, free: 2.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4089, allocations: 7.938 kB / 0.6073 GB, free: 2.262 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004818/0.4094, allocations: 313.9 kB / 0.6076 GB, free: 1.945 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.4094, allocations: 33.7 kB / 0.6076 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.4094, allocations: 0 / 0.6076 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.4094, allocations: 6.062 kB / 0.6076 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.4096, allocations: 59.89 kB / 0.6077 GB, free: 1.844 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.4097, allocations: 4 kB / 0.6077 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/0.4099, allocations: 43.98 kB / 0.6077 GB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.4099, allocations: 12 kB / 0.6077 GB, free: 1.785 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.0001318/0.4101, allocations: 165.7 kB / 0.6079 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.4101, allocations: 35.56 kB / 0.6079 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003862/0.4105, allocations: 192.5 kB / 0.6081 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.4105, allocations: 3.938 kB / 0.6081 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.4105, allocations: 4 kB / 0.6081 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000343/0.4109, allocations: 490.8 kB / 0.6086 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/0.4112, allocations: 349.3 kB / 0.6089 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4112, allocations: 0 / 0.6089 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.4114, allocations: 35.91 kB / 0.609 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4114, allocations: 0 / 0.609 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.4114, allocations: 4 kB / 0.609 GB, free: 392 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4114, allocations: 4 kB / 0.609 GB, free: 388 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4114, allocations: 0 / 0.609 GB, free: 388 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005078/0.412, allocations: 288.5 kB / 0.6092 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.4121, allocations: 128.6 kB / 0.6094 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/0.4122, allocations: 0 / 0.6094 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.4124, allocations: 23.98 kB / 0.6094 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.4125, allocations: 11.97 kB / 0.6094 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.4125, allocations: 16 kB / 0.6094 GB, free: 15.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002273/0.4127, allocations: 235.2 kB / 0.6096 GB, free: 15.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4127, allocations: 4 kB / 0.6096 GB, free: 15.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000424/0.4132, allocations: 120 kB / 0.6098 GB, free: 15.54 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.0003339/0.4135, allocations: 193.5 kB / 0.6099 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004995/0.414, allocations: 231.7 kB / 0.6102 GB, free: 15.11 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.414, allocations: 4.062 kB / 0.6102 GB, free: 15.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.4142, allocations: 71.89 kB / 0.6102 GB, free: 15.03 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009378/0.4152, allocations: 213.5 kB / 0.6104 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.4166, allocations: 0.881 MB / 0.6113 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.417, allocations: 0.7918 MB / 0.6121 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.794e-05/0.4171, allocations: 35.42 kB / 0.6121 GB, free: 13.05 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4171, allocations: 0 / 0.6121 GB, free: 13.05 MB / 462.1 MB Notification: Performance of Templates: time 0.008604/0.4257, allocations: 5.975 MB / 0.6179 GB, free: 7.148 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)