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.001199/0.001199, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001532/0.001532, allocations: 192.9 kB / 16.25 MB, free: 6.621 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.399/1.399, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.012/1.012, allocations: 135.1 MB / 425.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 64.48 kB / 0.5048 GB, free: 5.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1551, allocations: 80.92 MB / 0.5839 GB, free: 4.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01716/0.1723, allocations: 14.37 MB / 0.5979 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005546/0.1779, allocations: 3.613 MB / 0.6014 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007891/0.1787, allocations: 11.94 kB / 0.6014 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008204/0.1795, allocations: 179.1 kB / 0.6016 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.1813, allocations: 0.5405 MB / 0.6021 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009897/0.1823, allocations: 359.3 kB / 0.6025 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001572/0.1839, allocations: 1.106 MB / 0.6036 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006213/0.1846, allocations: 324.5 kB / 0.6039 GB, free: 308 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.31/0.4946, allocations: 382 kB / 0.6042 GB, free: 37.33 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006837/0.4953, allocations: 313.6 kB / 0.6045 GB, free: 37.33 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.58e-05/0.4954, allocations: 33.44 kB / 0.6046 GB, free: 37.33 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006821/0.4961, allocations: 267.1 kB / 0.6048 GB, free: 37.33 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.4962, allocations: 88.7 kB / 0.6049 GB, free: 37.33 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.4965, allocations: 219.7 kB / 0.6051 GB, free: 37.31 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000708/0.4972, allocations: 0.5854 MB / 0.6057 GB, free: 37.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.4972, allocations: 4.812 kB / 0.6057 GB, free: 37.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.685e-06/0.4973, allocations: 0 / 0.6057 GB, free: 37.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.4973, allocations: 3.938 kB / 0.6057 GB, free: 37.25 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.001053/0.4983, allocations: 0.75 MB / 0.6064 GB, free: 36.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.4984, allocations: 6.312 kB / 0.6064 GB, free: 36.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.4986, allocations: 55.48 kB / 0.6065 GB, free: 36.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006275/0.4992, allocations: 473.4 kB / 0.6069 GB, free: 36.47 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.4993, allocations: 24.31 kB / 0.607 GB, free: 36.47 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/0.4993, allocations: 27.28 kB / 0.607 GB, free: 36.47 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.4998, allocations: 311.5 kB / 0.6073 GB, free: 36.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.4999, allocations: 2.781 kB / 0.6073 GB, free: 36.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.4999, allocations: 10.69 kB / 0.6073 GB, free: 36.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.4999, allocations: 6.922 kB / 0.6073 GB, free: 36.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000433/0.5004, allocations: 195 kB / 0.6075 GB, free: 36.39 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.001459/0.5019, allocations: 1.488 MB / 0.609 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.5023, allocations: 149 kB / 0.6091 GB, free: 35.4 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.5024, allocations: 74.45 kB / 0.6092 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.5026, allocations: 83.95 kB / 0.6092 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/0.5028, allocations: 132.1 kB / 0.6094 GB, free: 35.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.5029, allocations: 0 / 0.6094 GB, free: 35.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000578/0.5034, allocations: 236.9 kB / 0.6096 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.5035, allocations: 54.31 kB / 0.6096 GB, free: 35.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.5038, allocations: 340 kB / 0.61 GB, free: 35.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.5038, allocations: 32.42 kB / 0.61 GB, free: 35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.5039, allocations: 214.3 kB / 0.6102 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.504, allocations: 51.95 kB / 0.6103 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.31e-05/0.5041, allocations: 58.34 kB / 0.6103 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.262e-05/0.5041, allocations: 351.8 kB / 0.6106 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.5043, allocations: 68.47 kB / 0.6107 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.5045, allocations: 143.6 kB / 0.6108 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.5049, allocations: 247.3 kB / 0.6111 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5049, allocations: 0 / 0.6111 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005228/0.5054, allocations: 310.7 kB / 0.6114 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.5054, allocations: 33.7 kB / 0.6114 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.5054, allocations: 2.906 kB / 0.6114 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.5055, allocations: 7.406 kB / 0.6114 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.5057, allocations: 59.98 kB / 0.6115 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.5057, allocations: 6.812 kB / 0.6115 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.506, allocations: 44.5 kB / 0.6115 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.506, allocations: 11.5 kB / 0.6115 GB, free: 34.16 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.0001545/0.5062, allocations: 160 kB / 0.6117 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.5062, allocations: 33.03 kB / 0.6117 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000439/0.5067, allocations: 198 kB / 0.6119 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.5067, allocations: 6.75 kB / 0.6119 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.5067, allocations: 0 / 0.6119 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003917/0.5071, allocations: 484.5 kB / 0.6124 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.5075, allocations: 351.3 kB / 0.6127 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5075, allocations: 3.5 kB / 0.6127 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.5077, allocations: 34.11 kB / 0.6128 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5077, allocations: 0 / 0.6128 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.5077, allocations: 7.875 kB / 0.6128 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.5077, allocations: 7.125 kB / 0.6128 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5077, allocations: 3.375 kB / 0.6128 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.5083, allocations: 284.2 kB / 0.613 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.729e-05/0.5084, allocations: 125.6 kB / 0.6132 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.5084, allocations: 7.812 kB / 0.6132 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.5087, allocations: 22.19 kB / 0.6132 GB, free: 33.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.5087, allocations: 15.78 kB / 0.6132 GB, free: 33.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.5088, allocations: 9.562 kB / 0.6132 GB, free: 33.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001998/0.509, allocations: 239.1 kB / 0.6134 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.509, allocations: 0 / 0.6134 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000409/0.5094, allocations: 121.2 kB / 0.6136 GB, free: 33.03 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.0003267/0.5097, allocations: 183.6 kB / 0.6137 GB, free: 32.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004753/0.5102, allocations: 236 kB / 0.614 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5102, allocations: 2.938 kB / 0.614 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.5104, allocations: 67.97 kB / 0.614 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009029/0.5113, allocations: 214.1 kB / 0.6142 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.5127, allocations: 0.8569 MB / 0.6151 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.5129, allocations: 0.7894 MB / 0.6158 GB, free: 31.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002665/0.5132, allocations: 70.7 kB / 0.6159 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.098e-05/0.5133, allocations: 34.84 kB / 0.6159 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.5133, allocations: 0 / 0.6159 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.01214/0.5254, allocations: 6.8 MB / 0.6226 GB, free: 31.14 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)