Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 182.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7355/0.7355, allocations: 133.3 MB / 150.1 MB, free: 11.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 222.9 MB / 404.7 MB, free: 6.074 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 99.44 kB / 485.9 MB, free: 7.23 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 55.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1373, allocations: 80.42 MB / 0.6421 GB, free: 5.434 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.3892/0.5265, allocations: 55.62 MB / 0.6964 GB, free: 11.61 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0238/0.5504, allocations: 17.91 MB / 0.7139 GB, free: 11.35 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003721/0.5542, allocations: 70.25 kB / 0.714 GB, free: 11.35 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002517/0.5567, allocations: 0.7227 MB / 0.7147 GB, free: 11.34 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007766/0.5645, allocations: 2.324 MB / 0.717 GB, free: 11.2 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004218/0.5687, allocations: 1.384 MB / 0.7183 GB, free: 11.13 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.02377/0.5925, allocations: 27.89 MB / 0.7456 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01118/0.6038, allocations: 8.718 MB / 0.7541 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01373/0.6175, allocations: 5.591 MB / 0.7595 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01225/0.6298, allocations: 6.196 MB / 0.7656 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002731/0.6326, allocations: 472 kB / 0.766 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006673/0.6393, allocations: 1.148 MB / 0.7672 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.003819/0.6432, allocations: 1.801 MB / 0.7689 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.009926/0.6531, allocations: 4.124 MB / 0.773 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01755/0.6707, allocations: 12.65 MB / 0.7853 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.6708, allocations: 0 / 0.7853 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6708, allocations: 0 / 0.7853 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005358/0.6713, allocations: 0 / 0.7853 GB, free: 8.574 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02585/0.6972, allocations: 8.498 MB / 0.7936 GB, free: 44 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.6972, allocations: 8.031 kB / 0.7936 GB, free: 36 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004475/0.7017, allocations: 0.8587 MB / 0.7944 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01579/0.7175, allocations: 6.618 MB / 0.8009 GB, free: 8.641 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005086/0.7181, allocations: 460.2 kB / 0.8013 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0025/0.7206, allocations: 0.5933 MB / 0.8019 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02248/0.7431, allocations: 9.029 MB / 0.8107 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002999/0.7434, allocations: 19.78 kB / 0.8108 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00195/0.7454, allocations: 263 kB / 0.811 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002052/0.7456, allocations: 183.9 kB / 0.8112 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01575/0.7614, allocations: 7.445 MB / 0.8185 GB, free: 6.348 MB / 0.5573 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.05862/0.82, allocations: 35.91 MB / 0.8535 GB, free: 0.6719 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007285/0.8274, allocations: 4.28 MB / 0.8577 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005274/0.8327, allocations: 3.321 MB / 0.861 GB, free: 9.078 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001347/0.8341, allocations: 0.9473 MB / 0.8619 GB, free: 7.961 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004371/0.8384, allocations: 2.398 MB / 0.8642 GB, free: 5.527 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00284/0.8413, allocations: 443.8 kB / 0.8646 GB, free: 5.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=317): time 8.837e-06/0.8413, allocations: 0 / 0.8646 GB, free: 5.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317): time 0.0146/0.856, allocations: 7.097 MB / 0.8716 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.8561, allocations: 85.91 kB / 0.8717 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01231/0.8685, allocations: 5.467 MB / 0.877 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0008587/0.8693, allocations: 85.7 kB / 0.8771 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.003692/0.8731, allocations: 3.191 MB / 0.8802 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001699/0.8748, allocations: 1.115 MB / 0.8813 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002477/0.8773, allocations: 0.858 MB / 0.8821 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.571e-05/0.8774, allocations: 309.1 kB / 0.8824 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003758/0.8811, allocations: 2.152 MB / 0.8845 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004521/0.8857, allocations: 3.689 MB / 0.8881 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008215/0.8939, allocations: 6.296 MB / 0.8943 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.365e-05/0.894, allocations: 16 kB / 0.8943 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01135/0.9053, allocations: 6.756 MB / 0.9009 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.228e-05/0.9054, allocations: 49.7 kB / 0.9009 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-05/0.9055, allocations: 52 kB / 0.901 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.9066, allocations: 431.5 kB / 0.9014 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00371/0.9103, allocations: 1.01 MB / 0.9024 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005956/0.9163, allocations: 5.272 MB / 0.9075 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005301/0.9216, allocations: 462.8 kB / 0.908 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006599/0.9223, allocations: 216 kB / 0.9082 GB, free: 6.652 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004856/0.9271, allocations: 2.483 MB / 0.9106 GB, free: 4.156 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001897/0.929, allocations: 0.5288 MB / 0.9111 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/0.9403, allocations: 5.25 MB / 0.9162 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.074e-05/0.9404, allocations: 32.17 kB / 0.9163 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-05/0.9404, allocations: 11.94 kB / 0.9163 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007306/0.9478, allocations: 4.521 MB / 0.9207 GB, free: 9.648 MB / 0.6667 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 postOpt removeSimpleEquations (simulation): time 0.02662/0.9744, allocations: 11.97 MB / 0.9324 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/0.9745, allocations: 4 kB / 0.9324 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002859/0.9773, allocations: 0.636 MB / 0.933 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008929/0.9782, allocations: 371.6 kB / 0.9334 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003707/0.9786, allocations: 91.89 kB / 0.9334 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005513/0.9842, allocations: 5.174 MB / 0.9385 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.9842, allocations: 3.938 kB / 0.9385 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7103/1.695, allocations: 47.42 MB / 0.9848 GB, free: 237.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003902/1.698, allocations: 1.134 MB / 0.9859 GB, free: 236.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001584/1.7, allocations: 64.2 kB / 0.986 GB, free: 236.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004694/1.705, allocations: 466.9 kB / 0.9864 GB, free: 236.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005154/1.705, allocations: 207.1 kB / 0.9866 GB, free: 236.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004272/1.706, allocations: 144.6 kB / 0.9868 GB, free: 236.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.007557/1.713, allocations: 3.803 MB / 0.9905 GB, free: 235.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.61e-07/1.713, allocations: 0 / 0.9905 GB, free: 235.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0168/1.73, allocations: 2.912 MB / 0.9933 GB, free: 234.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * 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 (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00188/1.732, allocations: 480.6 kB / 0.9938 GB, free: 234.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008357/1.74, allocations: 5.368 MB / 0.999 GB, free: 232.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/1.74, allocations: 7.375 kB / 0.999 GB, free: 232.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003193/1.744, allocations: 2.509 MB / 1.001 GB, free: 231.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01604/1.76, allocations: 3.233 MB / 1.005 GB, free: 231 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02644/1.786, allocations: 18.99 MB / 1.023 GB, free: 217.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007486/1.794, allocations: 4.715 MB / 1.028 GB, free: 212.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.01203/1.806, allocations: 2.061 MB / 1.03 GB, free: 210.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003466/1.809, allocations: 499.2 kB / 1.03 GB, free: 210.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.192e-06/1.809, allocations: 0 / 1.03 GB, free: 210.2 MB / 0.698 GB Notification: Performance of Templates: time 0.239/2.048, allocations: 131.4 MB / 1.159 GB, free: 79.61 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)