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.001133/0.001133, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001169/0.001169, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.78/0.78, allocations: 132.2 MB / 423.3 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3926, allocations: 80.19 MB / 0.5815 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01418/0.4068, allocations: 14.44 MB / 0.5956 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004417/0.4113, allocations: 3.637 MB / 0.5991 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006477/0.412, allocations: 19.88 kB / 0.5992 GB, free: 12.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006622/0.4127, allocations: 208.3 kB / 0.5994 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.4141, allocations: 0.5875 MB / 0.5999 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008808/0.4149, allocations: 380.2 kB / 0.6003 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.416, allocations: 1.097 MB / 0.6014 GB, free: 9.805 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000356/0.4163, allocations: 321.6 kB / 0.6017 GB, free: 9.496 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008259/0.4172, allocations: 391.7 kB / 0.6021 GB, free: 9.113 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000316/0.4175, allocations: 307.6 kB / 0.6023 GB, free: 8.812 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.379e-05/0.4175, allocations: 32 kB / 0.6024 GB, free: 8.781 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004701/0.418, allocations: 264.5 kB / 0.6026 GB, free: 8.523 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.022e-05/0.4181, allocations: 91.67 kB / 0.6027 GB, free: 8.434 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.4183, allocations: 218.9 kB / 0.6029 GB, free: 8.219 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006092/0.4189, allocations: 0.5948 MB / 0.6035 GB, free: 7.629 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.4189, allocations: 0 / 0.6035 GB, free: 7.629 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4189, allocations: 0 / 0.6035 GB, free: 7.629 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.419, allocations: 0 / 0.6035 GB, free: 7.629 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.001097/0.4201, allocations: 0.7518 MB / 0.6042 GB, free: 6.824 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4201, allocations: 8.031 kB / 0.6042 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.4203, allocations: 48.98 kB / 0.6043 GB, free: 6.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007456/0.4211, allocations: 467.1 kB / 0.6047 GB, free: 6.281 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.4211, allocations: 17.09 kB / 0.6048 GB, free: 6.266 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.105e-05/0.4212, allocations: 28 kB / 0.6048 GB, free: 6.238 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004722/0.4217, allocations: 312.7 kB / 0.6051 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.4217, allocations: 0 / 0.6051 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.4217, allocations: 12.53 kB / 0.6051 GB, free: 5.906 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.4217, allocations: 5.312 kB / 0.6051 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.4221, allocations: 191.1 kB / 0.6053 GB, free: 5.711 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.001483/0.4236, allocations: 1.495 MB / 0.6067 GB, free: 4.094 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.424, allocations: 154.6 kB / 0.6069 GB, free: 3.934 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.4242, allocations: 71.31 kB / 0.607 GB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.4243, allocations: 85.11 kB / 0.607 GB, free: 3.762 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002712/0.4246, allocations: 130.4 kB / 0.6072 GB, free: 3.625 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.724e-06/0.4246, allocations: 4.688 kB / 0.6072 GB, free: 3.621 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005372/0.4251, allocations: 230.2 kB / 0.6074 GB, free: 3.391 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.4252, allocations: 52.09 kB / 0.6074 GB, free: 3.328 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.4255, allocations: 354.2 kB / 0.6078 GB, free: 2.973 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.4255, allocations: 35.02 kB / 0.6078 GB, free: 2.934 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.4256, allocations: 215.7 kB / 0.608 GB, free: 2.719 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.4256, allocations: 51.34 kB / 0.6081 GB, free: 2.668 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.925e-05/0.4257, allocations: 59.31 kB / 0.6081 GB, free: 2.605 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.23e-05/0.4258, allocations: 342.8 kB / 0.6084 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.4259, allocations: 67.95 kB / 0.6085 GB, free: 2.195 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.4261, allocations: 153.1 kB / 0.6087 GB, free: 2.016 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.4265, allocations: 243.2 kB / 0.6089 GB, free: 1.746 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.4265, allocations: 4 kB / 0.6089 GB, free: 1.742 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004785/0.427, allocations: 312.1 kB / 0.6092 GB, free: 1.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.625e-05/0.427, allocations: 45.56 kB / 0.6092 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.427, allocations: 4 kB / 0.6092 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.427, allocations: 2.375 kB / 0.6092 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.4273, allocations: 59.91 kB / 0.6093 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.4273, allocations: 4 kB / 0.6093 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.4275, allocations: 35.67 kB / 0.6093 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.4275, allocations: 8.312 kB / 0.6093 GB, free: 1.27 MB / 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.0001345/0.4277, allocations: 161.8 kB / 0.6095 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.4277, allocations: 43.56 kB / 0.6095 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004016/0.4281, allocations: 188.5 kB / 0.6097 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4282, allocations: 4 kB / 0.6097 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4282, allocations: 0 / 0.6097 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003963/0.4286, allocations: 497 kB / 0.6102 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.429, allocations: 353.3 kB / 0.6105 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.429, allocations: 0 / 0.6105 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.4291, allocations: 27.98 kB / 0.6106 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.4292, allocations: 3.938 kB / 0.6106 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.4292, allocations: 7.984 kB / 0.6106 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4292, allocations: 0 / 0.6106 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4292, allocations: 0 / 0.6106 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005752/0.4298, allocations: 286.2 kB / 0.6108 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.4299, allocations: 128.6 kB / 0.611 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.43, allocations: 11.98 kB / 0.611 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.4302, allocations: 11.98 kB / 0.611 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.4303, allocations: 15.98 kB / 0.611 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.4303, allocations: 11.98 kB / 0.611 GB, free: 15.36 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002389/0.4306, allocations: 251.2 kB / 0.6113 GB, free: 15.12 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4306, allocations: 0 / 0.6113 GB, free: 15.12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004163/0.431, allocations: 124.1 kB / 0.6114 GB, free: 15 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.0003383/0.4313, allocations: 203 kB / 0.6116 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004778/0.4318, allocations: 227.7 kB / 0.6118 GB, free: 14.56 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4318, allocations: 4.062 kB / 0.6118 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.432, allocations: 71.89 kB / 0.6119 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008781/0.4329, allocations: 214.9 kB / 0.6121 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.4343, allocations: 0.7269 MB / 0.6128 GB, free: 13.53 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.4346, allocations: 0.7957 MB / 0.6135 GB, free: 12.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002235/0.4348, allocations: 67.23 kB / 0.6136 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.006e-05/0.4349, allocations: 31.44 kB / 0.6136 GB, free: 12.61 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4349, allocations: 0 / 0.6136 GB, free: 12.61 MB / 462.1 MB Notification: Performance of Templates: time 0.01217/0.4471, allocations: 7.134 MB / 0.6206 GB, free: 5.59 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)