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.001148/0.001148, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001319/0.001319, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9822/0.9822, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 64.38 kB / 0.5047 GB, free: 5.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1711, allocations: 80.93 MB / 0.5837 GB, free: 5.082 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.0159/0.187, allocations: 14.39 MB / 0.5978 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005371/0.1924, allocations: 3.671 MB / 0.6013 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005848/0.1931, allocations: 19.88 kB / 0.6014 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006419/0.1938, allocations: 171 kB / 0.6015 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.1952, allocations: 0.5366 MB / 0.602 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000947/0.1962, allocations: 356.2 kB / 0.6024 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001628/0.1978, allocations: 1.461 MB / 0.6038 GB, free: 420 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000488/0.1983, allocations: 268.4 kB / 0.6041 GB, free: 144 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3309/0.5292, allocations: 317.6 kB / 0.6044 GB, free: 36.45 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005996/0.5299, allocations: 316.5 kB / 0.6047 GB, free: 36.45 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.757e-05/0.53, allocations: 18.66 kB / 0.6047 GB, free: 36.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000652/0.5306, allocations: 245 kB / 0.6049 GB, free: 36.45 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.5308, allocations: 78.12 kB / 0.605 GB, free: 36.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002588/0.531, allocations: 201.5 kB / 0.6052 GB, free: 36.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006498/0.5317, allocations: 0.5754 MB / 0.6058 GB, free: 36.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.5317, allocations: 0.7188 kB / 0.6058 GB, free: 36.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5317, allocations: 3.188 kB / 0.6058 GB, free: 36.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.5317, allocations: 3.031 kB / 0.6058 GB, free: 36.34 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.001097/0.5328, allocations: 0.749 MB / 0.6065 GB, free: 35.83 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.5329, allocations: 8.594 kB / 0.6065 GB, free: 35.83 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.5331, allocations: 53.84 kB / 0.6065 GB, free: 35.81 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006228/0.5337, allocations: 480.1 kB / 0.607 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.5337, allocations: 23.41 kB / 0.607 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/0.5338, allocations: 28.64 kB / 0.6071 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005232/0.5343, allocations: 302.5 kB / 0.6073 GB, free: 35.49 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.5343, allocations: 6.719 kB / 0.6074 GB, free: 35.49 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.5344, allocations: 13.06 kB / 0.6074 GB, free: 35.49 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.5344, allocations: 8.953 kB / 0.6074 GB, free: 35.49 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004363/0.5348, allocations: 192 kB / 0.6076 GB, free: 35.49 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.001477/0.5363, allocations: 1.486 MB / 0.609 GB, free: 34.53 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000425/0.5368, allocations: 153.4 kB / 0.6092 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.5369, allocations: 67.84 kB / 0.6092 GB, free: 34.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/0.5371, allocations: 87.02 kB / 0.6093 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002935/0.5374, allocations: 131.7 kB / 0.6094 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.264e-06/0.5375, allocations: 0 / 0.6094 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000598/0.5381, allocations: 232.1 kB / 0.6096 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.5381, allocations: 58.16 kB / 0.6097 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.5384, allocations: 337.7 kB / 0.61 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.5384, allocations: 32.7 kB / 0.6101 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.5385, allocations: 220 kB / 0.6103 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.5386, allocations: 48.38 kB / 0.6103 GB, free: 33.94 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.5387, allocations: 60.73 kB / 0.6104 GB, free: 33.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.983e-05/0.5388, allocations: 346.9 kB / 0.6107 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.539, allocations: 70.75 kB / 0.6108 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.5392, allocations: 148.3 kB / 0.6109 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.5395, allocations: 248.5 kB / 0.6111 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5395, allocations: 0 / 0.6111 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005244/0.5401, allocations: 313.1 kB / 0.6114 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.5401, allocations: 33.45 kB / 0.6115 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.5401, allocations: 8.656 kB / 0.6115 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.5401, allocations: 6.812 kB / 0.6115 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.5404, allocations: 55.97 kB / 0.6115 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.5404, allocations: 13.31 kB / 0.6116 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.5407, allocations: 40.23 kB / 0.6116 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.5407, allocations: 12.16 kB / 0.6116 GB, free: 33.25 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.000139/0.5409, allocations: 156.8 kB / 0.6118 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.5409, allocations: 31.56 kB / 0.6118 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004445/0.5414, allocations: 200.5 kB / 0.612 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.5414, allocations: 3.344 kB / 0.612 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.5414, allocations: 0 / 0.612 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003836/0.5418, allocations: 480.8 kB / 0.6124 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.5421, allocations: 359.9 kB / 0.6128 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5422, allocations: 0 / 0.6128 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.5423, allocations: 29.94 kB / 0.6128 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5423, allocations: 4 kB / 0.6128 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.5424, allocations: 13.66 kB / 0.6128 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5424, allocations: 0 / 0.6128 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5424, allocations: 3.375 kB / 0.6128 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005737/0.543, allocations: 284.2 kB / 0.6131 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.5431, allocations: 127 kB / 0.6132 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/0.5431, allocations: 3.938 kB / 0.6132 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.5434, allocations: 19.17 kB / 0.6132 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.5435, allocations: 19.12 kB / 0.6133 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.5435, allocations: 5.781 kB / 0.6133 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002031/0.5437, allocations: 240.6 kB / 0.6135 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5437, allocations: 2.812 kB / 0.6135 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004174/0.5441, allocations: 113.4 kB / 0.6136 GB, free: 32.13 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.0003166/0.5444, allocations: 191.4 kB / 0.6138 GB, free: 32.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004709/0.5449, allocations: 230 kB / 0.614 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5449, allocations: 0 / 0.614 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.5451, allocations: 68.34 kB / 0.6141 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009264/0.5461, allocations: 195.2 kB / 0.6143 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.5474, allocations: 0.8641 MB / 0.6151 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.5477, allocations: 0.7933 MB / 0.6159 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002675/0.5479, allocations: 59.62 kB / 0.6159 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.871e-05/0.548, allocations: 35.45 kB / 0.616 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.548, allocations: 0 / 0.616 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.01139/0.5594, allocations: 6.555 MB / 0.6224 GB, free: 30.27 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)