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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 114.5 kB / 16.42 MB, free: 6.492 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.001133/0.001133, allocations: 187.8 kB / 17.35 MB, free: 5.762 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.185/1.185, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7211/0.7211, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 63.88 kB / 0.5863 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1206, allocations: 80.92 MB / 0.6653 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04971/0.1703, allocations: 55.99 MB / 0.72 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01974/0.1901, allocations: 17.92 MB / 0.7375 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001803/0.1919, allocations: 71.62 kB / 0.7375 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.194, allocations: 0.9197 MB / 0.7384 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005407/0.1995, allocations: 2.616 MB / 0.741 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003057/0.2026, allocations: 1.536 MB / 0.7425 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.2948/0.4974, allocations: 21.24 MB / 0.7632 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0144/0.5118, allocations: 10.71 MB / 0.7737 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01203/0.5239, allocations: 7.254 MB / 0.7808 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008388/0.5323, allocations: 6.372 MB / 0.787 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001994/0.5343, allocations: 0.937 MB / 0.7879 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004609/0.5389, allocations: 1.699 MB / 0.7896 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001625/0.5405, allocations: 2.343 MB / 0.7919 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005068/0.5456, allocations: 4.711 MB / 0.7965 GB, free: 268 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.5556, allocations: 13.21 MB / 0.8094 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5557, allocations: 0 / 0.8094 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5557, allocations: 0 / 0.8094 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000201/0.5559, allocations: 0 / 0.8094 GB, free: 9.766 MB / 0.5919 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.01419/0.5701, allocations: 8.517 MB / 0.8177 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.5701, allocations: 13.11 kB / 0.8177 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/0.5723, allocations: 0.8548 MB / 0.8185 GB, free: 400 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01068/0.583, allocations: 6.708 MB / 0.8251 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002757/0.5833, allocations: 463.5 kB / 0.8255 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007931/0.5841, allocations: 0.5936 MB / 0.8261 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01267/0.5968, allocations: 9.018 MB / 0.8349 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001035/0.5969, allocations: 30.39 kB / 0.8349 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005792/0.5975, allocations: 263.8 kB / 0.8352 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/0.5976, allocations: 182.5 kB / 0.8354 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/0.6081, allocations: 7.45 MB / 0.8426 GB, free: 7.758 MB / 0.6231 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.04159/0.6497, allocations: 35.98 MB / 0.8778 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005394/0.6551, allocations: 4.287 MB / 0.882 GB, free: 14.09 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004063/0.6592, allocations: 3.292 MB / 0.8852 GB, free: 10.8 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/0.6603, allocations: 0.961 MB / 0.8861 GB, free: 9.672 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003367/0.6637, allocations: 2.383 MB / 0.8884 GB, free: 7.254 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00157/0.6653, allocations: 374.9 kB / 0.8888 GB, free: 6.887 MB / 0.67 GB Notification: Performance of pre-optimization done (n=317): time 4.629e-06/0.6653, allocations: 0 / 0.8888 GB, free: 6.887 MB / 0.67 GB Notification: Performance of matching and sorting (n=317): time 0.01103/0.6763, allocations: 7.137 MB / 0.8958 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.6764, allocations: 85.89 kB / 0.8958 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007046/0.6835, allocations: 5.666 MB / 0.9014 GB, free: 9.941 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002792/0.6837, allocations: 85.7 kB / 0.9015 GB, free: 9.852 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002603/0.6864, allocations: 3.194 MB / 0.9046 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001026/0.6874, allocations: 1.114 MB / 0.9057 GB, free: 5.535 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00114/0.6885, allocations: 0.858 MB / 0.9065 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.743e-05/0.6886, allocations: 305.1 kB / 0.9068 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003002/0.6916, allocations: 2.163 MB / 0.9089 GB, free: 2.191 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003895/0.6955, allocations: 3.698 MB / 0.9125 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007194/0.7028, allocations: 6.321 MB / 0.9187 GB, free: 6.977 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.078e-05/0.7028, allocations: 12 kB / 0.9187 GB, free: 6.965 MB / 0.7012 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009559/0.7123, allocations: 6.775 MB / 0.9253 GB, free: 420 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.351e-05/0.7124, allocations: 53.7 kB / 0.9254 GB, free: 360 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.216e-05/0.7125, allocations: 48.88 kB / 0.9254 GB, free: 312 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008657/0.7133, allocations: 437.2 kB / 0.9258 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003267/0.7166, allocations: 1.006 MB / 0.9268 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005253/0.7219, allocations: 5.702 MB / 0.9324 GB, free: 8.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003507/0.7254, allocations: 287.4 kB / 0.9327 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003044/0.7257, allocations: 220 kB / 0.9329 GB, free: 8.402 MB / 0.7169 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.00341/0.7291, allocations: 2.489 MB / 0.9353 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008314/0.73, allocations: 0.5249 MB / 0.9358 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007607/0.7376, allocations: 5.266 MB / 0.941 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005865/0.7435, allocations: 4.53 MB / 0.9454 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.7435, allocations: 0 / 0.9454 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002856/0.7463, allocations: 1.17 MB / 0.9465 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009312/0.7473, allocations: 75.92 kB / 0.9466 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002603/0.7499, allocations: 191.7 kB / 0.9468 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004006/0.7503, allocations: 214.2 kB / 0.947 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008734/0.7591, allocations: 5.249 MB / 0.9521 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009898/0.769, allocations: 7.925 MB / 0.9598 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002595/0.7716, allocations: 2.225 MB / 0.962 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.005076/0.7767, allocations: 3.963 MB / 0.9659 GB, free: 6.336 MB / 0.7481 GB Notification: Performance of Backend: time 2.31e-07/0.7767, allocations: 0 / 0.9659 GB, free: 6.336 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.007164/0.7838, allocations: 4.112 MB / 0.9699 GB, free: 2.219 MB / 0.7481 GB Notification: Performance of SimCode: time 0.02354/0.8074, allocations: 15.45 MB / 0.985 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of Templates: time 0.6317/1.439, allocations: 118.3 MB / 1.1 GB, free: 286 MB / 0.8263 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)