Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.005712/0.005712, allocations: 105.5 kB / 15.74 MB, free: 6.008 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.001208/0.001209, allocations: 194.8 kB / 16.67 MB, free: 5.93 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7893/0.7893, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 61.09 kB / 0.5813 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1704, allocations: 80.22 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05413/0.2245, allocations: 55.99 MB / 0.7143 GB, free: 2.074 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02315/0.2477, allocations: 17.92 MB / 0.7318 GB, free: 100 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003535/0.2513, allocations: 71.62 kB / 0.7319 GB, free: 28 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003526/0.2548, allocations: 0.9236 MB / 0.7328 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009605/0.2645, allocations: 2.612 MB / 0.7354 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004861/0.2694, allocations: 1.535 MB / 0.7369 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.4652/0.7347, allocations: 21.24 MB / 0.7576 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0181/0.7528, allocations: 10.71 MB / 0.7681 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02131/0.7741, allocations: 7.263 MB / 0.7751 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.015/0.7892, allocations: 6.37 MB / 0.7814 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.004542/0.7937, allocations: 0.9371 MB / 0.7823 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01066/0.8044, allocations: 1.694 MB / 0.7839 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005459/0.8099, allocations: 2.344 MB / 0.7862 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01424/0.8242, allocations: 4.711 MB / 0.7908 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02236/0.8466, allocations: 13.2 MB / 0.8037 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.8466, allocations: 0 / 0.8037 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.376e-06/0.8467, allocations: 0 / 0.8037 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0006709/0.8473, allocations: 0 / 0.8037 GB, free: 12.88 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.03346/0.8808, allocations: 8.519 MB / 0.812 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.8809, allocations: 8.031 kB / 0.812 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00565/0.8865, allocations: 0.8586 MB / 0.8129 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01685/0.9034, allocations: 6.705 MB / 0.8194 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006133/0.9041, allocations: 460.2 kB / 0.8199 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003443/0.9075, allocations: 0.5967 MB / 0.8205 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02873/0.9363, allocations: 9.026 MB / 0.8293 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003475/0.9367, allocations: 14.66 kB / 0.8293 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002624/0.9393, allocations: 261.4 kB / 0.8295 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002664/0.9396, allocations: 183.3 kB / 0.8297 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01993/0.9596, allocations: 7.449 MB / 0.837 GB, free: 13.54 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.06391/1.024, allocations: 35.99 MB / 0.8721 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007656/1.031, allocations: 4.285 MB / 0.8763 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00552/1.037, allocations: 3.298 MB / 0.8795 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001509/1.038, allocations: 0.9574 MB / 0.8805 GB, free: 15.44 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005342/1.044, allocations: 2.382 MB / 0.8828 GB, free: 13.02 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003383/1.047, allocations: 371.7 kB / 0.8831 GB, free: 12.66 MB / 0.67 GB Notification: Performance of pre-optimization done (n=317): time 1.994e-05/1.047, allocations: 0 / 0.8831 GB, free: 12.66 MB / 0.67 GB Notification: Performance of matching and sorting (n=317): time 0.01647/1.064, allocations: 7.134 MB / 0.8901 GB, free: 5.453 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/1.064, allocations: 85.91 kB / 0.8902 GB, free: 5.355 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01453/1.078, allocations: 5.666 MB / 0.8957 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.001038/1.079, allocations: 89.7 kB / 0.8958 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.004557/1.084, allocations: 3.191 MB / 0.8989 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.002133/1.086, allocations: 1.125 MB / 0.9 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002899/1.089, allocations: 0.8503 MB / 0.9009 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.089, allocations: 310.8 kB / 0.9012 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003975/1.093, allocations: 2.167 MB / 0.9033 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00522/1.098, allocations: 3.695 MB / 0.9069 GB, free: 3.574 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009912/1.108, allocations: 6.319 MB / 0.9131 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-05/1.108, allocations: 14.62 kB / 0.9131 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01546/1.124, allocations: 6.771 MB / 0.9197 GB, free: 6.207 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.26e-05/1.124, allocations: 53.7 kB / 0.9197 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000105/1.124, allocations: 52.91 kB / 0.9198 GB, free: 6.098 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/1.125, allocations: 434.2 kB / 0.9202 GB, free: 5.672 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004261/1.13, allocations: 1.01 MB / 0.9212 GB, free: 4.73 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006533/1.136, allocations: 5.696 MB / 0.9267 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005679/1.142, allocations: 287.5 kB / 0.927 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/1.143, allocations: 219.4 kB / 0.9272 GB, free: 14.32 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.006514/1.149, allocations: 2.477 MB / 0.9296 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002446/1.152, allocations: 0.5327 MB / 0.9302 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/1.164, allocations: 5.267 MB / 0.9353 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.775e-05/1.164, allocations: 28 kB / 0.9353 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.278e-05/1.164, allocations: 16 kB / 0.9353 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00749/1.171, allocations: 4.52 MB / 0.9398 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03161/1.203, allocations: 11.98 MB / 0.9515 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/1.203, allocations: 0 / 0.9515 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003109/1.206, allocations: 0.6454 MB / 0.9521 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009783/1.207, allocations: 377.3 kB / 0.9525 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004554/1.207, allocations: 79.95 kB / 0.9525 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006046/1.213, allocations: 5.617 MB / 0.958 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.145e-06/1.213, allocations: 0 / 0.958 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01384/1.227, allocations: 7.778 MB / 0.9656 GB, free: 6.621 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003462/1.231, allocations: 1.151 MB / 0.9667 GB, free: 5.445 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00178/1.233, allocations: 67.92 kB / 0.9668 GB, free: 5.379 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004193/1.237, allocations: 203.3 kB / 0.967 GB, free: 5.184 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005277/1.237, allocations: 196.9 kB / 0.9672 GB, free: 4.992 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004747/1.238, allocations: 143.9 kB / 0.9673 GB, free: 4.852 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.009914/1.248, allocations: 3.959 MB / 0.9712 GB, free: 0.9141 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.61e-07/1.248, allocations: 0 / 0.9712 GB, free: 0.9141 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.01061/1.258, allocations: 2.007 MB / 0.9731 GB, free: 14.9 MB / 0.7637 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.001946/1.26, allocations: 0.4915 MB / 0.9736 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01083/1.271, allocations: 5.441 MB / 0.9789 GB, free: 9.129 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/1.271, allocations: 8.062 kB / 0.9789 GB, free: 9.121 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004761/1.276, allocations: 2.539 MB / 0.9814 GB, free: 6.609 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01894/1.295, allocations: 3.387 MB / 0.9847 GB, free: 3.355 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03192/1.327, allocations: 13.89 MB / 0.9983 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007021/1.334, allocations: 4.633 MB / 1.003 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.008389/1.343, allocations: 2.068 MB / 1.005 GB, free: 14.72 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002631/1.345, allocations: 472.5 kB / 1.005 GB, free: 14.27 MB / 0.795 GB Notification: Performance of SimCode: time 2.514e-06/1.345, allocations: 0 / 1.005 GB, free: 14.27 MB / 0.795 GB Notification: Performance of Templates: time 0.5625/1.908, allocations: 116.6 MB / 1.119 GB, free: 268.9 MB / 0.8262 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)