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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007562/0.0007562, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007338/0.0007338, allocations: 211.2 kB / 23 MB, free: 2.977 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8832/0.8832, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7282/0.7282, allocations: 203.8 MB / 0.5049 GB, free: 10.44 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009245/0.0009245, allocations: 61.97 kB / 0.7194 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5067/0.5076, allocations: 102 MB / 0.819 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04023/0.5478, allocations: 51.67 MB / 0.8695 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01959/0.5674, allocations: 16.84 MB / 0.8859 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00292/0.5703, allocations: 101.8 kB / 0.886 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002707/0.573, allocations: 0.8943 MB / 0.8869 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007093/0.5801, allocations: 2.656 MB / 0.8895 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003745/0.5839, allocations: 1.607 MB / 0.891 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01675/0.6006, allocations: 22.05 MB / 0.9126 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009552/0.6102, allocations: 7.1 MB / 0.9195 GB, free: 14.36 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01437/0.6246, allocations: 7.591 MB / 0.9269 GB, free: 6.793 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01062/0.6352, allocations: 6.889 MB / 0.9336 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.003269/0.6384, allocations: 0.9375 MB / 0.9346 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006148/0.6446, allocations: 1.577 MB / 0.9361 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.004461/0.649, allocations: 2.434 MB / 0.9385 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.009017/0.6581, allocations: 3.88 MB / 0.9423 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01562/0.6737, allocations: 13.36 MB / 0.9553 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.6737, allocations: 0 / 0.9553 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.896e-06/0.6737, allocations: 0 / 0.9553 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005234/0.6742, allocations: 0 / 0.9553 GB, free: 9.617 MB / 0.7292 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.02386/0.6981, allocations: 8.645 MB / 0.9638 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.52e-05/0.6982, allocations: 12.03 kB / 0.9638 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00468/0.7028, allocations: 0.9509 MB / 0.9647 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/0.7142, allocations: 6.794 MB / 0.9713 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003134/0.7145, allocations: 462.3 kB / 0.9718 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001793/0.7163, allocations: 0.5937 MB / 0.9724 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01753/0.7339, allocations: 10.1 MB / 0.9822 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001853/0.734, allocations: 19.83 kB / 0.9822 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00147/0.7355, allocations: 268 kB / 0.9825 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/0.7357, allocations: 187.8 kB / 0.9827 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01373/0.7494, allocations: 7.453 MB / 0.9899 GB, free: 5.395 MB / 0.7605 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.03952/0.7889, allocations: 26.35 MB / 1.016 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005249/0.7942, allocations: 3.971 MB / 1.02 GB, free: 6.617 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003923/0.7981, allocations: 3.031 MB / 1.023 GB, free: 3.586 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006593/0.7987, allocations: 202.3 kB / 1.023 GB, free: 3.387 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003771/0.8025, allocations: 3.452 MB / 1.026 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001946/0.8045, allocations: 321.8 kB / 1.026 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=317): time 1.172e-05/0.8045, allocations: 4 kB / 1.026 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=317): time 0.009665/0.8141, allocations: 6.942 MB / 1.033 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.8142, allocations: 85.91 kB / 1.033 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006627/0.8208, allocations: 4.981 MB / 1.038 GB, free: 3.246 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0007388/0.8216, allocations: 89.7 kB / 1.038 GB, free: 3.152 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002626/0.8242, allocations: 3.275 MB / 1.041 GB, free: 15.86 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001514/0.8257, allocations: 1.174 MB / 1.043 GB, free: 14.67 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/0.8269, allocations: 0.8585 MB / 1.043 GB, free: 13.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.27e-05/0.827, allocations: 305.1 kB / 1.044 GB, free: 13.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002653/0.8296, allocations: 2.192 MB / 1.046 GB, free: 11.29 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003393/0.833, allocations: 3.826 MB / 1.05 GB, free: 6.734 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006226/0.8392, allocations: 6.323 MB / 1.056 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-05/0.8393, allocations: 12 kB / 1.056 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01037/0.8497, allocations: 6.769 MB / 1.062 GB, free: 8.859 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.503e-05/0.8497, allocations: 51.64 kB / 1.062 GB, free: 8.805 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.34e-05/0.8498, allocations: 56 kB / 1.062 GB, free: 8.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008004/0.8506, allocations: 435.5 kB / 1.063 GB, free: 8.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003053/0.8537, allocations: 1.006 MB / 1.064 GB, free: 7.312 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005002/0.8587, allocations: 5.356 MB / 1.069 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003566/0.8622, allocations: 291.7 kB / 1.069 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008204/0.863, allocations: 220 kB / 1.07 GB, free: 1.254 MB / 0.8386 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.004122/0.8672, allocations: 2.476 MB / 1.072 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001424/0.8686, allocations: 0.4968 MB / 1.072 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006574/0.8752, allocations: 5.204 MB / 1.078 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-05/0.8752, allocations: 35.98 kB / 1.078 GB, free: 8.977 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.8752, allocations: 4 kB / 1.078 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004676/0.8799, allocations: 4.528 MB / 1.082 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/0.8963, allocations: 10.43 MB / 1.092 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.8963, allocations: 0 / 1.092 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/0.8979, allocations: 0.6477 MB / 1.093 GB, free: 9.148 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000611/0.8986, allocations: 377.3 kB / 1.093 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002512/0.8988, allocations: 79.95 kB / 1.093 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004032/0.9028, allocations: 5.283 MB / 1.098 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.9028, allocations: 4 kB / 1.098 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009624/0.9125, allocations: 7.679 MB / 1.106 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002534/0.915, allocations: 1.08 MB / 1.107 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009872/0.916, allocations: 67.92 kB / 1.107 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002312/0.9183, allocations: 200 kB / 1.107 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003401/0.9186, allocations: 214.1 kB / 1.107 GB, free: 9.879 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002695/0.9189, allocations: 135.9 kB / 1.108 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004938/0.9238, allocations: 3.388 MB / 1.111 GB, free: 6.363 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9238, allocations: 0 / 1.111 GB, free: 6.363 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006387/0.9302, allocations: 2.085 MB / 1.113 GB, free: 4.273 MB / 0.8855 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.00129/0.9315, allocations: 488.8 kB / 1.113 GB, free: 3.785 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.007201/0.9387, allocations: 5.251 MB / 1.119 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.9387, allocations: 3.781 kB / 1.119 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00296/0.9417, allocations: 2.362 MB / 1.121 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009717/0.9514, allocations: 2.768 MB / 1.124 GB, free: 9.426 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01988/0.9713, allocations: 14.04 MB / 1.137 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00466/0.9759, allocations: 4.067 MB / 1.141 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001749/0.9777, allocations: 463.2 kB / 1.142 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of SimCode: time 3.236e-06/0.9777, allocations: 0 / 1.142 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of Templates: time 0.5371/1.515, allocations: 182.6 MB / 1.32 GB, free: 146.6 MB / 0.9167 GB " [Timeout remaining time 658] make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 16.230145465116948] Failed to read output from testmodel.py, exit status != 0: 1.521857492160052 1.5286380960000001 0.853267529 Calling exit ...