Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Examples.Stratified.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.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.Stratified") translateModel(IDEAS.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 113.9 kB / 16.42 MB, free: 6.449 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.001193/0.001193, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.199/1.199, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7292/0.7292, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 64.25 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1191, allocations: 80.92 MB / 0.6653 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.Stratified): time 0.0483/0.1675, allocations: 56.2 MB / 0.7202 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0204/0.1879, allocations: 17.45 MB / 0.7372 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002194/0.1901, allocations: 79.56 kB / 0.7373 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002336/0.1925, allocations: 0.9821 MB / 0.7382 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006093/0.1986, allocations: 2.558 MB / 0.7407 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004205/0.2028, allocations: 1.804 MB / 0.7425 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3015/0.5044, allocations: 29.35 MB / 0.7712 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01478/0.5192, allocations: 14.64 MB / 0.7855 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01635/0.5356, allocations: 9.942 MB / 0.7952 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01635/0.552, allocations: 9.108 MB / 0.8041 GB, free: 0 / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003938/0.5559, allocations: 1.38 MB / 0.8054 GB, free: 0 / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007664/0.5636, allocations: 2.499 MB / 0.8079 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003294/0.567, allocations: 3.241 MB / 0.811 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.009805/0.5768, allocations: 6.516 MB / 0.8174 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01614/0.5929, allocations: 18.38 MB / 0.8353 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.593, allocations: 1.312 kB / 0.8353 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.593, allocations: 0 / 0.8353 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003826/0.5934, allocations: 0 / 0.8353 GB, free: 2.613 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2145 * Number of variables: 2145 Notification: Performance of Generate backend data structure: time 0.02266/0.616, allocations: 11.71 MB / 0.8468 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.6161, allocations: 13.11 kB / 0.8468 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004126/0.6202, allocations: 1.179 MB / 0.8479 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01658/0.6368, allocations: 9.309 MB / 0.857 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004686/0.6373, allocations: 0.6098 MB / 0.8576 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001732/0.639, allocations: 0.8198 MB / 0.8584 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02169/0.6607, allocations: 12.52 MB / 0.8706 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001974/0.6609, allocations: 27.77 kB / 0.8707 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001251/0.6622, allocations: 359.9 kB / 0.871 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002097/0.6624, allocations: 247.9 kB / 0.8713 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01709/0.6795, allocations: 10.42 MB / 0.8814 GB, free: 3.109 MB / 0.6544 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.06223/0.7418, allocations: 48.91 MB / 0.9292 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008702/0.7505, allocations: 6.274 MB / 0.9353 GB, free: 9.625 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006642/0.7572, allocations: 4.921 MB / 0.9401 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/0.7584, allocations: 0.819 MB / 0.9409 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00548/0.7639, allocations: 3.424 MB / 0.9443 GB, free: 312 kB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002728/0.7666, allocations: 468 kB / 0.9447 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=449): time 1.1e-05/0.7667, allocations: 0 / 0.9447 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=449): time 0.01461/0.7813, allocations: 8.904 MB / 0.9534 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.72e-05/0.7814, allocations: 162.3 kB / 0.9536 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01237/0.7938, allocations: 7.717 MB / 0.9611 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0008622/0.7947, allocations: 113.7 kB / 0.9612 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.004241/0.7989, allocations: 4.325 MB / 0.9654 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.002026/0.801, allocations: 1.56 MB / 0.967 GB, free: 9.031 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00262/0.8036, allocations: 1.128 MB / 0.9681 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.697e-05/0.8037, allocations: 305.1 kB / 0.9683 GB, free: 7.59 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004694/0.8084, allocations: 3.05 MB / 0.9713 GB, free: 4.523 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005794/0.8142, allocations: 4.896 MB / 0.9761 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/0.8258, allocations: 8.617 MB / 0.9845 GB, free: 5.348 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.048e-05/0.8259, allocations: 16 kB / 0.9845 GB, free: 5.332 MB / 0.7637 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01581/0.8417, allocations: 8.901 MB / 0.9932 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.8419, allocations: 91.39 kB / 0.9933 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.465e-05/0.842, allocations: 56 kB / 0.9934 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-05/0.842, allocations: 88 kB / 0.9935 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005158/0.8472, allocations: 1.369 MB / 0.9948 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001417/0.8474, allocations: 127.6 kB / 0.9949 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005605/0.853, allocations: 371.2 kB / 0.9953 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007777/0.8538, allocations: 276 kB / 0.9955 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009483/0.8633, allocations: 6.171 MB / 1.002 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005809/0.8691, allocations: 4.906 MB / 1.006 GB, free: 14.11 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01098/0.8801, allocations: 8.601 MB / 1.015 GB, free: 4.684 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.018e-05/0.8802, allocations: 20.09 kB / 1.015 GB, free: 4.664 MB / 0.795 GB Notification: Performance of matching and sorting (n=754) (initialization_lambda0): time 0.01521/0.8954, allocations: 8.893 MB / 1.023 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.233e-05/0.8955, allocations: 103.4 kB / 1.024 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-05/0.8956, allocations: 60 kB / 1.024 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.45e-05/0.8957, allocations: 88 kB / 1.024 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004874/0.9006, allocations: 1.365 MB / 1.025 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001287/0.9007, allocations: 123.6 kB / 1.025 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005308/0.906, allocations: 363.3 kB / 1.025 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006083/0.9066, allocations: 276 kB / 1.026 GB, free: 9.371 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 264 * Number of states: 0 () * Number of discrete variables: 15 (P.nextEventScaled,P.nextEvent,$PRE.P.nextEvent,P.last,P.b,P.a,TWat.nextEventScaled,TWat.nextEvent,$PRE.TWat.nextEvent,TWat.last,TWat.b,TWat.a,$whenCondition2,$whenCondition1,dH.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 742 * Array equations: 0 * Algorithm blocks: 2 * 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.001333/0.908, allocations: 0.6447 MB / 1.026 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001914/0.9099, allocations: 0.7179 MB / 1.027 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/0.9212, allocations: 7.144 MB / 1.034 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00793/0.9291, allocations: 5.848 MB / 1.04 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.9292, allocations: 0 / 1.04 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004319/0.9335, allocations: 1.613 MB / 1.041 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001681/0.9352, allocations: 103.9 kB / 1.041 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004518/0.9397, allocations: 283.5 kB / 1.042 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004989/0.9402, allocations: 247.1 kB / 1.042 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01217/0.9524, allocations: 7.071 MB / 1.049 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01544/0.9678, allocations: 11.38 MB / 1.06 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003828/0.9717, allocations: 3.217 MB / 1.063 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.5197/1.491, allocations: 5.417 MB / 1.068 GB, free: 310.5 MB / 0.8419 GB Notification: Performance of Backend: time 1.142e-06/1.491, allocations: 0 / 1.068 GB, free: 310.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01798/1.509, allocations: 9.567 MB / 1.078 GB, free: 307.8 MB / 0.8419 GB Notification: Performance of SimCode: time 0.03716/1.547, allocations: 21.09 MB / 1.098 GB, free: 299.2 MB / 0.8419 GB Notification: Performance of Templates: time 0.1997/1.746, allocations: 184.7 MB / 1.279 GB, free: 131.1 MB / 0.8419 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.Stratified.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.Stratified.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.Stratified.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.Stratified.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.Stratified.pipe 2>&1)