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.001185/0.001185, allocations: 100.1 kB / 15.88 MB, free: 12 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.001292/0.001292, allocations: 197.9 kB / 16.79 MB, free: 6.809 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.384/1.384, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9677/0.9677, allocations: 135.1 MB / 425.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 69.05 kB / 0.5053 GB, free: 5.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1605, allocations: 80.92 MB / 0.5843 GB, free: 5.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01522/0.1758, allocations: 14.39 MB / 0.5984 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005224/0.1811, allocations: 3.671 MB / 0.602 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005508/0.1817, allocations: 15.94 kB / 0.602 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006448/0.1824, allocations: 171.1 kB / 0.6022 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.1837, allocations: 0.5405 MB / 0.6027 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008709/0.1846, allocations: 358.7 kB / 0.603 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001524/0.1861, allocations: 1.453 MB / 0.6044 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004015/0.1866, allocations: 281.8 kB / 0.6047 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2813/0.4679, allocations: 315.7 kB / 0.605 GB, free: 37.03 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004773/0.4684, allocations: 311.7 kB / 0.6053 GB, free: 37.03 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.574e-05/0.4685, allocations: 17.38 kB / 0.6053 GB, free: 37.03 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006041/0.4691, allocations: 239.2 kB / 0.6056 GB, free: 37.03 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.4692, allocations: 82.17 kB / 0.6056 GB, free: 37.03 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002222/0.4694, allocations: 205.5 kB / 0.6058 GB, free: 36.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004646/0.4699, allocations: 452.6 kB / 0.6063 GB, free: 36.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4699, allocations: 0 / 0.6063 GB, free: 36.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4699, allocations: 0 / 0.6063 GB, free: 36.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.47, allocations: 1.531 kB / 0.6063 GB, free: 36.96 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.001115/0.4711, allocations: 0.755 MB / 0.607 GB, free: 36.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.4711, allocations: 10.12 kB / 0.607 GB, free: 36.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.4713, allocations: 47.94 kB / 0.6071 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006406/0.472, allocations: 485.2 kB / 0.6075 GB, free: 36.19 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.472, allocations: 21.38 kB / 0.6075 GB, free: 36.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-05/0.4721, allocations: 25.53 kB / 0.6076 GB, free: 36.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/0.4726, allocations: 313.9 kB / 0.6079 GB, free: 36.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.4726, allocations: 0 / 0.6079 GB, free: 36.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.4726, allocations: 11.09 kB / 0.6079 GB, free: 36.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.4727, allocations: 8.781 kB / 0.6079 GB, free: 36.11 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000407/0.4731, allocations: 194.1 kB / 0.6081 GB, free: 36.11 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.001397/0.4745, allocations: 1.489 MB / 0.6095 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/0.4749, allocations: 152.3 kB / 0.6097 GB, free: 35.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.475, allocations: 70.05 kB / 0.6097 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/0.4752, allocations: 90.17 kB / 0.6098 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/0.4755, allocations: 120.7 kB / 0.6099 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.4755, allocations: 0 / 0.6099 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005701/0.4761, allocations: 236.9 kB / 0.6102 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.4761, allocations: 56.53 kB / 0.6102 GB, free: 34.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.4764, allocations: 345.9 kB / 0.6105 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.4764, allocations: 32.39 kB / 0.6106 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.4766, allocations: 208.6 kB / 0.6108 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.4766, allocations: 58.11 kB / 0.6108 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.325e-05/0.4767, allocations: 55.98 kB / 0.6109 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.034e-05/0.4767, allocations: 342.2 kB / 0.6112 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.4769, allocations: 70.55 kB / 0.6113 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.4771, allocations: 151.7 kB / 0.6114 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.4775, allocations: 249.5 kB / 0.6117 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4775, allocations: 3.938 kB / 0.6117 GB, free: 34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005068/0.478, allocations: 302.6 kB / 0.6119 GB, free: 33.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.4781, allocations: 35.33 kB / 0.612 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.4781, allocations: 10.97 kB / 0.612 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.4781, allocations: 9.688 kB / 0.612 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.4783, allocations: 50.44 kB / 0.6121 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.4783, allocations: 11.58 kB / 0.6121 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.4786, allocations: 40.5 kB / 0.6121 GB, free: 33.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.4786, allocations: 11.44 kB / 0.6121 GB, free: 33.87 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.0001508/0.4788, allocations: 162.8 kB / 0.6123 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.4788, allocations: 32.81 kB / 0.6123 GB, free: 33.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004113/0.4792, allocations: 194.1 kB / 0.6125 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4793, allocations: 9 kB / 0.6125 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4793, allocations: 0 / 0.6125 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003778/0.4797, allocations: 485.6 kB / 0.613 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.48, allocations: 352.6 kB / 0.6133 GB, free: 33.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.48, allocations: 0 / 0.6133 GB, free: 33.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.4802, allocations: 29.33 kB / 0.6133 GB, free: 33.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.4802, allocations: 3.188 kB / 0.6133 GB, free: 33.06 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.4802, allocations: 11 kB / 0.6133 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4802, allocations: 0 / 0.6133 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4802, allocations: 0 / 0.6133 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005282/0.4808, allocations: 289.7 kB / 0.6136 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.78e-05/0.4809, allocations: 125.3 kB / 0.6137 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.83e-05/0.4809, allocations: 9.688 kB / 0.6137 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.4812, allocations: 17.11 kB / 0.6138 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.4812, allocations: 18.23 kB / 0.6138 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.4813, allocations: 8.781 kB / 0.6138 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001899/0.4815, allocations: 242.8 kB / 0.614 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4815, allocations: 3 kB / 0.614 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004032/0.4819, allocations: 113 kB / 0.6141 GB, free: 32.75 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.0002949/0.4822, allocations: 192.6 kB / 0.6143 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004382/0.4826, allocations: 224.6 kB / 0.6145 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4826, allocations: 2.906 kB / 0.6145 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.4828, allocations: 66.16 kB / 0.6146 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008845/0.4837, allocations: 203.8 kB / 0.6148 GB, free: 32.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.485, allocations: 0.8835 MB / 0.6156 GB, free: 32.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.4852, allocations: 0.7941 MB / 0.6164 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.709e-05/0.4853, allocations: 38.5 kB / 0.6165 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.4853, allocations: 0 / 0.6165 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of Templates: time 0.007459/0.4928, allocations: 5.947 MB / 0.6223 GB, free: 30.76 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)