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.00211/0.002111, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001259/0.001259, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.351/1.351, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8391/0.8391, allocations: 135.2 MB / 426.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 63.91 kB / 0.506 GB, free: 8.312 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3744, allocations: 80.92 MB / 0.585 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04857/0.423, allocations: 55.98 MB / 0.6397 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02558/0.4487, allocations: 17.92 MB / 0.6572 GB, free: 472 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002821/0.4515, allocations: 83.5 kB / 0.6573 GB, free: 388 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00273/0.4543, allocations: 0.9041 MB / 0.6582 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007521/0.4619, allocations: 2.483 MB / 0.6606 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004076/0.4659, allocations: 1.526 MB / 0.6621 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02279/0.4888, allocations: 21.22 MB / 0.6828 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01384/0.5026, allocations: 10.7 MB / 0.6933 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01416/0.5168, allocations: 7.155 MB / 0.7003 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01059/0.5274, allocations: 6.362 MB / 0.7065 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002555/0.53, allocations: 0.9413 MB / 0.7074 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006151/0.5362, allocations: 1.709 MB / 0.7091 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003341/0.5395, allocations: 2.337 MB / 0.7113 GB, free: 8.852 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.008771/0.5483, allocations: 4.707 MB / 0.7159 GB, free: 4.125 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01565/0.564, allocations: 13.04 MB / 0.7287 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.564, allocations: 0 / 0.7287 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.564, allocations: 0 / 0.7287 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004025/0.5644, allocations: 0 / 0.7287 GB, free: 7.047 MB / 0.5606 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.02157/0.586, allocations: 8.522 MB / 0.737 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.5861, allocations: 13.11 kB / 0.737 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003591/0.5897, allocations: 0.8587 MB / 0.7378 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01318/0.6029, allocations: 6.427 MB / 0.7441 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004462/0.6034, allocations: 460.2 kB / 0.7446 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001932/0.6053, allocations: 0.5975 MB / 0.7451 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5312/1.136, allocations: 9.021 MB / 0.754 GB, free: 144.4 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001521/1.137, allocations: 25.92 kB / 0.754 GB, free: 144.4 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007722/1.137, allocations: 263 kB / 0.7542 GB, free: 144.2 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002245/1.138, allocations: 177.8 kB / 0.7544 GB, free: 144.2 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01494/1.153, allocations: 7.446 MB / 0.7617 GB, free: 141.1 MB / 0.5763 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.03596/1.189, allocations: 36.24 MB / 0.7971 GB, free: 111.1 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004669/1.193, allocations: 4.293 MB / 0.8012 GB, free: 106.8 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00337/1.197, allocations: 3.315 MB / 0.8045 GB, free: 103.5 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009728/1.198, allocations: 0.9477 MB / 0.8054 GB, free: 102.4 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002817/1.201, allocations: 2.392 MB / 0.8077 GB, free: 99.94 MB / 0.5763 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002147/1.203, allocations: 363.9 kB / 0.8081 GB, free: 99.58 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=317): time 9.027e-06/1.203, allocations: 0 / 0.8081 GB, free: 99.58 MB / 0.5763 GB Notification: Performance of matching and sorting (n=317): time 0.01015/1.213, allocations: 7.134 MB / 0.8151 GB, free: 92.39 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/1.213, allocations: 85.91 kB / 0.8151 GB, free: 92.3 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006415/1.219, allocations: 5.662 MB / 0.8207 GB, free: 86.66 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0005272/1.22, allocations: 97.69 kB / 0.8208 GB, free: 86.55 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.001998/1.222, allocations: 3.191 MB / 0.8239 GB, free: 83.35 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001021/1.223, allocations: 1.113 MB / 0.825 GB, free: 82.24 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009607/1.224, allocations: 0.8619 MB / 0.8258 GB, free: 81.37 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.185e-05/1.224, allocations: 305.1 kB / 0.8261 GB, free: 81.07 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00249/1.226, allocations: 2.163 MB / 0.8282 GB, free: 78.89 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00301/1.229, allocations: 3.701 MB / 0.8318 GB, free: 74.49 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00591/1.235, allocations: 6.319 MB / 0.838 GB, free: 67.46 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.569e-05/1.235, allocations: 16 kB / 0.838 GB, free: 67.44 MB / 0.5763 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.00876/1.244, allocations: 6.779 MB / 0.8446 GB, free: 60.61 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 5.408e-05/1.244, allocations: 57.69 kB / 0.8447 GB, free: 60.55 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-05/1.244, allocations: 51.12 kB / 0.8447 GB, free: 60.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008059/1.245, allocations: 440.2 kB / 0.8452 GB, free: 60.07 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003055/1.248, allocations: 1.002 MB / 0.8461 GB, free: 59.06 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004263/1.252, allocations: 5.709 MB / 0.8517 GB, free: 53.09 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004891/1.257, allocations: 287.5 kB / 0.852 GB, free: 52.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007136/1.258, allocations: 216 kB / 0.8522 GB, free: 52.59 MB / 0.5763 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.005194/1.263, allocations: 2.481 MB / 0.8546 GB, free: 50.1 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002098/1.265, allocations: 0.5287 MB / 0.8551 GB, free: 49.57 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007535/1.273, allocations: 5.268 MB / 0.8603 GB, free: 44.25 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/1.273, allocations: 35.98 kB / 0.8603 GB, free: 44.22 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/1.273, allocations: 4 kB / 0.8603 GB, free: 44.21 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005043/1.278, allocations: 4.529 MB / 0.8647 GB, free: 39.58 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01689/1.295, allocations: 12.04 MB / 0.8765 GB, free: 27.44 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/1.295, allocations: 0 / 0.8765 GB, free: 27.44 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002405/1.298, allocations: 0.6438 MB / 0.8771 GB, free: 26.79 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006753/1.298, allocations: 373.3 kB / 0.8775 GB, free: 26.42 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001857/1.298, allocations: 83.95 kB / 0.8776 GB, free: 26.34 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003939/1.302, allocations: 5.636 MB / 0.8831 GB, free: 20.44 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.302, allocations: 0 / 0.8831 GB, free: 20.44 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009494/1.312, allocations: 7.761 MB / 0.8906 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002612/1.315, allocations: 1.154 MB / 0.8918 GB, free: 11.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008744/1.315, allocations: 67.92 kB / 0.8918 GB, free: 11.34 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00269/1.318, allocations: 199.9 kB / 0.892 GB, free: 11.14 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003592/1.318, allocations: 198.2 kB / 0.8922 GB, free: 10.95 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002322/1.319, allocations: 139.9 kB / 0.8923 GB, free: 10.81 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004482/1.323, allocations: 3.959 MB / 0.8962 GB, free: 6.871 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9.21e-07/1.323, allocations: 0 / 0.8962 GB, free: 6.871 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.004933/1.328, allocations: 2.013 MB / 0.8982 GB, free: 4.871 MB / 0.5763 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.001016/1.329, allocations: 496 kB / 0.8987 GB, free: 4.414 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.02013/1.349, allocations: 11.62 MB / 0.91 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/1.349, allocations: 4.438 kB / 0.91 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003873/1.353, allocations: 2.543 MB / 0.9125 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01494/1.368, allocations: 3.402 MB / 0.9158 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02407/1.392, allocations: 14.08 MB / 0.9296 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004877/1.397, allocations: 4.553 MB / 0.934 GB, free: 244 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001978/1.399, allocations: 495.3 kB / 0.9345 GB, free: 15.75 MB / 0.6232 GB Notification: Performance of SimCode: time 1.172e-06/1.399, allocations: 0 / 0.9345 GB, free: 15.75 MB / 0.6232 GB Notification: Performance of Templates: time 0.4679/1.867, allocations: 187.3 MB / 1.117 GB, free: 138.5 MB / 0.6857 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)