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.0009393/0.0009396, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0008739/0.0008739, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.187/1.187, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8419/0.8419, allocations: 135.2 MB / 426.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.0002827, allocations: 8.719 kB / 0.5068 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1585, allocations: 82.31 MB / 0.5872 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01135/0.1699, allocations: 12.13 MB / 0.599 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004152/0.1741, allocations: 3.167 MB / 0.6021 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003549/0.1745, allocations: 15.88 kB / 0.6021 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005485/0.175, allocations: 195 kB / 0.6023 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.1762, allocations: 0.5842 MB / 0.6029 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.1773, allocations: 472.1 kB / 0.6033 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008101/0.1781, allocations: 0.6439 MB / 0.604 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003379/0.1785, allocations: 242.8 kB / 0.6042 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003455/0.1788, allocations: 275 kB / 0.6045 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.1791, allocations: 203.1 kB / 0.6047 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/0.1791, allocations: 12 kB / 0.6047 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003875/0.1795, allocations: 167.7 kB / 0.6048 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.89e-05/0.1796, allocations: 67.73 kB / 0.6049 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.277e-05/0.1797, allocations: 101.5 kB / 0.605 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.1801, allocations: 427.2 kB / 0.6054 GB, free: 416 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.1801, allocations: 0 / 0.6054 GB, free: 416 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1801, allocations: 0 / 0.6054 GB, free: 416 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.1801, allocations: 0 / 0.6054 GB, free: 416 kB / 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.2495/0.4296, allocations: 0.6789 MB / 0.6061 GB, free: 50.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.4297, allocations: 8.969 kB / 0.6061 GB, free: 50.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.4299, allocations: 53.86 kB / 0.6061 GB, free: 50.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006319/0.4306, allocations: 413.4 kB / 0.6065 GB, free: 50.62 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.4306, allocations: 24 kB / 0.6065 GB, free: 50.62 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.03e-05/0.4306, allocations: 30.91 kB / 0.6066 GB, free: 50.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.4311, allocations: 313.8 kB / 0.6069 GB, free: 50.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.4312, allocations: 3.156 kB / 0.6069 GB, free: 50.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.4312, allocations: 9.719 kB / 0.6069 GB, free: 50.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.4312, allocations: 6.625 kB / 0.6069 GB, free: 50.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003844/0.4316, allocations: 209.2 kB / 0.6071 GB, free: 50.54 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.00133/0.433, allocations: 1.501 MB / 0.6086 GB, free: 49.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.4333, allocations: 165.5 kB / 0.6087 GB, free: 49.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/0.4335, allocations: 89.95 kB / 0.6088 GB, free: 49.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.4337, allocations: 132.9 kB / 0.6089 GB, free: 49.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.4337, allocations: 2.188 kB / 0.6089 GB, free: 49.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005252/0.4343, allocations: 248.1 kB / 0.6092 GB, free: 49.35 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.4343, allocations: 61.75 kB / 0.6092 GB, free: 49.29 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.4346, allocations: 355.7 kB / 0.6096 GB, free: 49.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.4346, allocations: 32.55 kB / 0.6096 GB, free: 49.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.478e-05/0.4347, allocations: 212.8 kB / 0.6098 GB, free: 49.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.4348, allocations: 60.39 kB / 0.6099 GB, free: 49 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/0.4348, allocations: 3.5 kB / 0.6099 GB, free: 49 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.487e-05/0.4348, allocations: 345.7 kB / 0.6102 GB, free: 48.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.435, allocations: 76.77 kB / 0.6103 GB, free: 48.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.4352, allocations: 155.8 kB / 0.6104 GB, free: 48.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.4354, allocations: 114.5 kB / 0.6105 GB, free: 48.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4354, allocations: 5.891 kB / 0.6105 GB, free: 48.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004683/0.4359, allocations: 320.5 kB / 0.6108 GB, free: 48.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.4359, allocations: 38.67 kB / 0.6109 GB, free: 48.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.4359, allocations: 2.938 kB / 0.6109 GB, free: 48.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.4359, allocations: 2.688 kB / 0.6109 GB, free: 48.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.4361, allocations: 64.27 kB / 0.6109 GB, free: 48.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.4361, allocations: 3.438 kB / 0.6109 GB, free: 48.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.4364, allocations: 42.91 kB / 0.611 GB, free: 48.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.4364, allocations: 22.03 kB / 0.611 GB, free: 48.41 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.4366, allocations: 153 kB / 0.6111 GB, free: 48.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.4366, allocations: 35.58 kB / 0.6112 GB, free: 48.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003884/0.437, allocations: 211.5 kB / 0.6114 GB, free: 48.22 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.437, allocations: 3.094 kB / 0.6114 GB, free: 48.22 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.437, allocations: 1 kB / 0.6114 GB, free: 48.22 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003605/0.4374, allocations: 497.4 kB / 0.6119 GB, free: 47.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.4377, allocations: 362.1 kB / 0.6122 GB, free: 47.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4377, allocations: 0 / 0.6122 GB, free: 47.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.4379, allocations: 36.92 kB / 0.6122 GB, free: 47.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4379, allocations: 2.781 kB / 0.6122 GB, free: 47.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.4379, allocations: 3.188 kB / 0.6122 GB, free: 47.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4379, allocations: 8.531 kB / 0.6123 GB, free: 47.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4379, allocations: 0 / 0.6123 GB, free: 47.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/0.4384, allocations: 298.2 kB / 0.6125 GB, free: 47.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.4386, allocations: 129.6 kB / 0.6127 GB, free: 47.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/0.4386, allocations: 5.438 kB / 0.6127 GB, free: 47.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.4388, allocations: 30.64 kB / 0.6127 GB, free: 47.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.4389, allocations: 18.62 kB / 0.6127 GB, free: 47.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.4389, allocations: 10.58 kB / 0.6127 GB, free: 47.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002174/0.4391, allocations: 256.5 kB / 0.613 GB, free: 47.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4392, allocations: 0 / 0.613 GB, free: 47.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003771/0.4395, allocations: 124 kB / 0.6131 GB, free: 47.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002234/0.4398, allocations: 196.5 kB / 0.6133 GB, free: 47.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000414/0.4402, allocations: 234.2 kB / 0.6135 GB, free: 47.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4402, allocations: 0.625 kB / 0.6135 GB, free: 47.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.4404, allocations: 84.27 kB / 0.6136 GB, free: 47.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008012/0.4412, allocations: 200.2 kB / 0.6138 GB, free: 47.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.4423, allocations: 0.9413 MB / 0.6147 GB, free: 46.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.4425, allocations: 0.802 MB / 0.6155 GB, free: 45.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002033/0.4427, allocations: 71.16 kB / 0.6155 GB, free: 45.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.84e-05/0.4427, allocations: 37.31 kB / 0.6156 GB, free: 45.8 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.4428, allocations: 0 / 0.6156 GB, free: 45.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.009479/0.4522, allocations: 6.745 MB / 0.6222 GB, free: 45.23 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: