Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008815/0.0008815, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006381/0.006381, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.445/1.445, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7857/0.7857, allocations: 132.4 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003505, allocations: 8 kB / 0.504 GB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4822/0.4826, allocations: 81.57 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01681/0.4995, allocations: 13.89 MB / 0.5972 GB, free: 9.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006859/0.5064, allocations: 3.623 MB / 0.6008 GB, free: 7.398 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008746/0.5073, allocations: 18.28 kB / 0.6008 GB, free: 7.391 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007396/0.508, allocations: 168.2 kB / 0.6009 GB, free: 7.297 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.5099, allocations: 0.5459 MB / 0.6015 GB, free: 6.977 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.5112, allocations: 348.5 kB / 0.6018 GB, free: 6.785 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002261/0.5134, allocations: 1.462 MB / 0.6032 GB, free: 6.117 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004792/0.5139, allocations: 266.1 kB / 0.6035 GB, free: 5.949 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005542/0.5145, allocations: 308.8 kB / 0.6038 GB, free: 5.793 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004502/0.515, allocations: 311.1 kB / 0.6041 GB, free: 5.609 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.362e-05/0.515, allocations: 13.91 kB / 0.6041 GB, free: 5.609 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007645/0.5158, allocations: 243.6 kB / 0.6043 GB, free: 5.477 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.5159, allocations: 68.58 kB / 0.6044 GB, free: 5.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002493/0.5162, allocations: 217.8 kB / 0.6046 GB, free: 5.281 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007398/0.5169, allocations: 0.5678 MB / 0.6052 GB, free: 4.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.5169, allocations: 0 / 0.6052 GB, free: 4.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5169, allocations: 0 / 0.6052 GB, free: 4.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.517, allocations: 1.438 kB / 0.6052 GB, free: 4.91 MB / 446.1 MB 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.001315/0.5183, allocations: 0.6861 MB / 0.6058 GB, free: 4.289 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.252e-05/0.5184, allocations: 9.406 kB / 0.6058 GB, free: 4.289 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003083/0.5187, allocations: 44.88 kB / 0.6059 GB, free: 4.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008234/0.5195, allocations: 485.1 kB / 0.6063 GB, free: 3.852 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.5195, allocations: 19.25 kB / 0.6064 GB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.754e-05/0.5196, allocations: 25.88 kB / 0.6064 GB, free: 3.836 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005989/0.5202, allocations: 313.8 kB / 0.6067 GB, free: 3.629 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.5202, allocations: 8.969 kB / 0.6067 GB, free: 3.621 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.5203, allocations: 11.09 kB / 0.6067 GB, free: 3.613 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.5203, allocations: 6.562 kB / 0.6067 GB, free: 3.613 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005042/0.5208, allocations: 205.5 kB / 0.6069 GB, free: 3.52 MB / 446.1 MB 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.001881/0.5227, allocations: 1.492 MB / 0.6084 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/0.5232, allocations: 167 kB / 0.6085 GB, free: 2.047 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.5234, allocations: 71.58 kB / 0.6086 GB, free: 2.012 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.5236, allocations: 88.28 kB / 0.6087 GB, free: 1.914 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003223/0.5239, allocations: 132.5 kB / 0.6088 GB, free: 1.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.944e-06/0.524, allocations: 4 kB / 0.6088 GB, free: 1.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006818/0.5246, allocations: 249.3 kB / 0.609 GB, free: 1.691 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.5247, allocations: 61.31 kB / 0.6091 GB, free: 1.621 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000392/0.5251, allocations: 340 kB / 0.6094 GB, free: 1.402 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.5251, allocations: 31.86 kB / 0.6095 GB, free: 1.367 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.5253, allocations: 216.8 kB / 0.6097 GB, free: 1.172 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.5254, allocations: 53.3 kB / 0.6097 GB, free: 1.125 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.5254, allocations: 30.3 kB / 0.6097 GB, free: 1.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.5256, allocations: 342.3 kB / 0.6101 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.5258, allocations: 77.64 kB / 0.6101 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.526, allocations: 150.2 kB / 0.6103 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004539/0.5265, allocations: 257.8 kB / 0.6105 GB, free: 404 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5265, allocations: 0 / 0.6105 GB, free: 404 kB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000622/0.5271, allocations: 323.5 kB / 0.6108 GB, free: 216 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.824e-05/0.5272, allocations: 39 kB / 0.6109 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.5272, allocations: 6.469 kB / 0.6109 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.5272, allocations: 5.125 kB / 0.6109 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.5275, allocations: 59.81 kB / 0.6109 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.5275, allocations: 11.61 kB / 0.611 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.5278, allocations: 41.92 kB / 0.611 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.5278, allocations: 8.969 kB / 0.611 GB, free: 128 kB / 446.1 MB 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.000188/0.528, allocations: 162 kB / 0.6112 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.5281, allocations: 36 kB / 0.6112 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004995/0.5286, allocations: 205 kB / 0.6114 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5286, allocations: 3.156 kB / 0.6114 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.5286, allocations: 0 / 0.6114 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005181/0.5292, allocations: 0.4932 MB / 0.6119 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.5296, allocations: 350 kB / 0.6122 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.5296, allocations: 1 kB / 0.6122 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.5298, allocations: 41.05 kB / 0.6122 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.5298, allocations: 1.062 kB / 0.6122 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.5298, allocations: 1.969 kB / 0.6122 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/0.5298, allocations: 5.109 kB / 0.6123 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5299, allocations: 0 / 0.6123 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006454/0.5305, allocations: 303.9 kB / 0.6125 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.5307, allocations: 137.3 kB / 0.6127 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.5307, allocations: 1.156 kB / 0.6127 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.531, allocations: 25.2 kB / 0.6127 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/0.531, allocations: 14.28 kB / 0.6127 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.5311, allocations: 13.09 kB / 0.6127 GB, free: 14.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002467/0.5313, allocations: 238.9 kB / 0.613 GB, free: 14.51 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5313, allocations: 0 / 0.613 GB, free: 14.51 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004757/0.5318, allocations: 119.7 kB / 0.6131 GB, free: 14.48 MB / 462.1 MB 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.0003376/0.5322, allocations: 185.3 kB / 0.6132 GB, free: 14.35 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005512/0.5327, allocations: 240.6 kB / 0.6135 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.5327, allocations: 0 / 0.6135 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.5329, allocations: 78.3 kB / 0.6135 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.534, allocations: 197 kB / 0.6137 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.5356, allocations: 0.9358 MB / 0.6146 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.536, allocations: 0.7883 MB / 0.6154 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000295/0.5363, allocations: 75.53 kB / 0.6155 GB, free: 12.58 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.407e-05/0.5364, allocations: 32.97 kB / 0.6155 GB, free: 12.57 MB / 462.1 MB Notification: Performance of SimCode: time 7.22e-07/0.5364, allocations: 0 / 0.6155 GB, free: 12.57 MB / 462.1 MB Notification: Performance of Templates: time 0.01674/0.5532, allocations: 6.526 MB / 0.6219 GB, free: 8.703 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & ./IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)