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.001468/0.001469, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 197.2 kB / 16.53 MB, free: 6.656 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.006/1.006, allocations: 135.2 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 67.55 kB / 0.5054 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1948, allocations: 80.93 MB / 0.5844 GB, free: 4.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01491/0.2097, allocations: 14.42 MB / 0.5985 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004985/0.2148, allocations: 3.636 MB / 0.602 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004103/0.2152, allocations: 19.88 kB / 0.6021 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006142/0.2158, allocations: 206.7 kB / 0.6023 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.2173, allocations: 0.5868 MB / 0.6028 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008743/0.2182, allocations: 393.7 kB / 0.6032 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001146/0.2193, allocations: 1.079 MB / 0.6043 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2767/0.496, allocations: 311.9 kB / 0.6046 GB, free: 36.7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.4972, allocations: 387.2 kB / 0.6049 GB, free: 36.7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003833/0.4976, allocations: 315.9 kB / 0.6052 GB, free: 36.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.933e-05/0.4977, allocations: 33.06 kB / 0.6053 GB, free: 36.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005566/0.4983, allocations: 264.8 kB / 0.6055 GB, free: 36.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.135e-05/0.4984, allocations: 88.91 kB / 0.6056 GB, free: 36.67 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.4985, allocations: 216.9 kB / 0.6058 GB, free: 36.61 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000664/0.4992, allocations: 0.5819 MB / 0.6064 GB, free: 36.55 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4992, allocations: 1.469 kB / 0.6064 GB, free: 36.55 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4992, allocations: 6.688 kB / 0.6064 GB, free: 36.55 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.4992, allocations: 1.719 kB / 0.6064 GB, free: 36.55 MB / 0.4981 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.0009503/0.5002, allocations: 0.7499 MB / 0.6071 GB, free: 36.04 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.5002, allocations: 8.062 kB / 0.6071 GB, free: 36.04 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.5004, allocations: 52 kB / 0.6072 GB, free: 36.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005407/0.501, allocations: 442.6 kB / 0.6076 GB, free: 35.78 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.501, allocations: 29.23 kB / 0.6076 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/0.5011, allocations: 28.19 kB / 0.6076 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004945/0.5016, allocations: 307.3 kB / 0.6079 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.5016, allocations: 2.656 kB / 0.6079 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.5016, allocations: 9.531 kB / 0.608 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.5016, allocations: 11.31 kB / 0.608 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004251/0.5021, allocations: 195 kB / 0.6082 GB, free: 35.7 MB / 0.4981 GB 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.001372/0.5035, allocations: 1.488 MB / 0.6096 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.5039, allocations: 159.6 kB / 0.6098 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.5041, allocations: 67.7 kB / 0.6098 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.5042, allocations: 86.09 kB / 0.6099 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002846/0.5045, allocations: 127.5 kB / 0.61 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.793e-06/0.5045, allocations: 0 / 0.61 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006581/0.5052, allocations: 238.1 kB / 0.6103 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.5052, allocations: 56.39 kB / 0.6103 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.5055, allocations: 352.3 kB / 0.6106 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.5055, allocations: 28.95 kB / 0.6107 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.5057, allocations: 229.4 kB / 0.6109 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.5057, allocations: 50.7 kB / 0.6109 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.606e-05/0.5058, allocations: 58.62 kB / 0.611 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.279e-05/0.5059, allocations: 342 kB / 0.6113 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.506, allocations: 68.84 kB / 0.6114 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.5063, allocations: 149.5 kB / 0.6115 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/0.5066, allocations: 246.2 kB / 0.6118 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.5067, allocations: 0 / 0.6118 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005425/0.5072, allocations: 312.7 kB / 0.6121 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.5073, allocations: 34.05 kB / 0.6121 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.5073, allocations: 3.344 kB / 0.6121 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.5073, allocations: 6.781 kB / 0.6121 GB, free: 33.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.5075, allocations: 57.52 kB / 0.6122 GB, free: 33.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.5075, allocations: 12.66 kB / 0.6122 GB, free: 33.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.5078, allocations: 32.73 kB / 0.6122 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.5078, allocations: 16.09 kB / 0.6122 GB, free: 33.45 MB / 0.4981 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 (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.0001254/0.5079, allocations: 152.9 kB / 0.6124 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.508, allocations: 36.28 kB / 0.6124 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004167/0.5084, allocations: 198.1 kB / 0.6126 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.5084, allocations: 3.938 kB / 0.6126 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.5084, allocations: 0 / 0.6126 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003805/0.5088, allocations: 488 kB / 0.6131 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003155/0.5092, allocations: 347.4 kB / 0.6134 GB, free: 32.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.5092, allocations: 0 / 0.6134 GB, free: 32.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.5093, allocations: 40.92 kB / 0.6134 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5093, allocations: 0 / 0.6134 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.5094, allocations: 6.406 kB / 0.6134 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5094, allocations: 7.938 kB / 0.6134 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5094, allocations: 0 / 0.6134 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005351/0.5099, allocations: 287 kB / 0.6137 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.717e-05/0.51, allocations: 122.3 kB / 0.6138 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.5101, allocations: 6.281 kB / 0.6138 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.5103, allocations: 28.97 kB / 0.6139 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.5104, allocations: 20.92 kB / 0.6139 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.5104, allocations: 6.438 kB / 0.6139 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002187/0.5106, allocations: 248 kB / 0.6141 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5106, allocations: 0 / 0.6141 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004233/0.5111, allocations: 126.5 kB / 0.6142 GB, free: 32.34 MB / 0.4981 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) * 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.0002816/0.5114, allocations: 186 kB / 0.6144 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004503/0.5118, allocations: 237.2 kB / 0.6146 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5118, allocations: 3.75 kB / 0.6147 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.512, allocations: 73.16 kB / 0.6147 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009318/0.5129, allocations: 213.2 kB / 0.6149 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.5141, allocations: 0.7484 MB / 0.6157 GB, free: 31.74 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.5143, allocations: 0.7915 MB / 0.6164 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002393/0.5146, allocations: 69.27 kB / 0.6165 GB, free: 31.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.394e-05/0.5146, allocations: 32.12 kB / 0.6165 GB, free: 31.03 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.5146, allocations: 4 kB / 0.6165 GB, free: 31.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.01061/0.5253, allocations: 7.141 MB / 0.6235 GB, free: 30.5 MB / 0.4981 GB 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)