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.001088/0.001088, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001446/0.001446, allocations: 168.7 kB / 15.95 MB, free: 204 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.428/1.428, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.022/1.022, allocations: 135.3 MB / 426.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003828, allocations: 8.625 kB / 0.507 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1873, allocations: 82.32 MB / 0.5874 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01395/0.2013, allocations: 13.19 MB / 0.6003 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005381/0.2067, allocations: 3.393 MB / 0.6036 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006043/0.2073, allocations: 19.88 kB / 0.6036 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006601/0.208, allocations: 147.1 kB / 0.6037 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.2094, allocations: 493.5 kB / 0.6042 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008384/0.2102, allocations: 283 kB / 0.6045 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001372/0.2116, allocations: 1.247 MB / 0.6057 GB, free: 212 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3158/0.5274, allocations: 237.8 kB / 0.6059 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.5287, allocations: 311.7 kB / 0.6062 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004952/0.5292, allocations: 285.7 kB / 0.6065 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.167e-05/0.5293, allocations: 14.34 kB / 0.6065 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000699/0.53, allocations: 147 kB / 0.6066 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.607e-05/0.5301, allocations: 70.52 kB / 0.6067 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.5302, allocations: 104.3 kB / 0.6068 GB, free: 35.15 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005091/0.5308, allocations: 431.7 kB / 0.6072 GB, free: 35.13 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.5308, allocations: 2.688 kB / 0.6072 GB, free: 35.13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.444e-06/0.5308, allocations: 0 / 0.6072 GB, free: 35.13 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.5308, allocations: 0 / 0.6072 GB, free: 35.13 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.001003/0.5318, allocations: 0.6827 MB / 0.6079 GB, free: 34.63 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.5318, allocations: 11.75 kB / 0.6079 GB, free: 34.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.532, allocations: 47.75 kB / 0.6079 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006937/0.5327, allocations: 462 kB / 0.6084 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.5328, allocations: 23.14 kB / 0.6084 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.096e-05/0.5328, allocations: 29.34 kB / 0.6084 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005111/0.5334, allocations: 312.4 kB / 0.6087 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.5334, allocations: 5.188 kB / 0.6087 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.5334, allocations: 10.31 kB / 0.6087 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.5334, allocations: 9.031 kB / 0.6088 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/0.5339, allocations: 203.2 kB / 0.609 GB, free: 34.31 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.001519/0.5354, allocations: 1.491 MB / 0.6104 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.5358, allocations: 171 kB / 0.6106 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.536, allocations: 77.58 kB / 0.6106 GB, free: 33.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/0.5362, allocations: 87.02 kB / 0.6107 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002884/0.5365, allocations: 127.4 kB / 0.6108 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.064e-06/0.5365, allocations: 0 / 0.6108 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005832/0.5371, allocations: 249.5 kB / 0.6111 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.5372, allocations: 54.31 kB / 0.6111 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.5375, allocations: 344 kB / 0.6115 GB, free: 32.94 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.5375, allocations: 28.58 kB / 0.6115 GB, free: 32.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.5377, allocations: 220.8 kB / 0.6117 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.5377, allocations: 51.84 kB / 0.6118 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/0.5378, allocations: 3.375 kB / 0.6118 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.5379, allocations: 346.2 kB / 0.6121 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.538, allocations: 74.98 kB / 0.6122 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.5383, allocations: 149 kB / 0.6123 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.5385, allocations: 122.3 kB / 0.6124 GB, free: 32.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.5385, allocations: 0 / 0.6124 GB, free: 32.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005908/0.5391, allocations: 328.2 kB / 0.6127 GB, free: 32.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.5391, allocations: 33.17 kB / 0.6128 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.5392, allocations: 6.562 kB / 0.6128 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.5392, allocations: 5.719 kB / 0.6128 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.5394, allocations: 60.48 kB / 0.6128 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.5394, allocations: 6.344 kB / 0.6128 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.5397, allocations: 40.3 kB / 0.6129 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.5397, allocations: 18.59 kB / 0.6129 GB, free: 32.17 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.0001647/0.5399, allocations: 158.9 kB / 0.613 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.5399, allocations: 35.38 kB / 0.6131 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00045/0.5404, allocations: 209.2 kB / 0.6133 GB, free: 31.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.5404, allocations: 0 / 0.6133 GB, free: 31.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5404, allocations: 6.312 kB / 0.6133 GB, free: 31.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003776/0.5408, allocations: 491.4 kB / 0.6138 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.5412, allocations: 356.2 kB / 0.6141 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5412, allocations: 0 / 0.6141 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.5414, allocations: 36.19 kB / 0.6141 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5414, allocations: 3.031 kB / 0.6141 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.5414, allocations: 9.188 kB / 0.6141 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5414, allocations: 0 / 0.6141 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5414, allocations: 3.469 kB / 0.6141 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005065/0.5419, allocations: 303.4 kB / 0.6144 GB, free: 31.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.542, allocations: 125.5 kB / 0.6146 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.5421, allocations: 6.875 kB / 0.6146 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.5423, allocations: 25.38 kB / 0.6146 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.5424, allocations: 16.02 kB / 0.6146 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.5424, allocations: 10.09 kB / 0.6146 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001894/0.5426, allocations: 233 kB / 0.6148 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5426, allocations: 0 / 0.6148 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004168/0.543, allocations: 123.6 kB / 0.6149 GB, free: 31.05 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.0002937/0.5433, allocations: 175.6 kB / 0.6151 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004693/0.5438, allocations: 233.5 kB / 0.6153 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5438, allocations: 0 / 0.6153 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.544, allocations: 74.66 kB / 0.6154 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009126/0.5449, allocations: 205.9 kB / 0.6156 GB, free: 30.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.5462, allocations: 0.9658 MB / 0.6165 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.5464, allocations: 0.7938 MB / 0.6173 GB, free: 29.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002532/0.5466, allocations: 62.69 kB / 0.6174 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/0.5467, allocations: 31.53 kB / 0.6174 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of SimCode: time 1.473e-06/0.5467, allocations: 0 / 0.6174 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.01057/0.5573, allocations: 6.331 MB / 0.6236 GB, free: 29.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)