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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 110.6 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 191.7 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.212/1.212, allocations: 173.4 MB / 471.3 MB, free: 6.684 MB / 366.1 MB " [Timeout remaining time 179] 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=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: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 66.8 kB / 0.649 GB, free: 22.73 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2096, allocations: 89.53 MB / 0.7364 GB, free: 3.668 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06473/0.2744, allocations: 56.09 MB / 0.7912 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02799/0.3024, allocations: 17.94 MB / 0.8087 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003499/0.306, allocations: 71.62 kB / 0.8088 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003215/0.3092, allocations: 0.9041 MB / 0.8096 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008761/0.318, allocations: 2.494 MB / 0.8121 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004901/0.3229, allocations: 1.529 MB / 0.8136 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0254/0.3484, allocations: 21.31 MB / 0.8344 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01654/0.3649, allocations: 10.67 MB / 0.8448 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01874/0.3837, allocations: 7.338 MB / 0.852 GB, free: 12.9 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01491/0.3987, allocations: 6.292 MB / 0.8581 GB, free: 6.586 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.004126/0.4028, allocations: 0.9375 MB / 0.859 GB, free: 5.648 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008018/0.4109, allocations: 1.698 MB / 0.8607 GB, free: 3.949 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.005399/0.4163, allocations: 2.333 MB / 0.863 GB, free: 1.609 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.5136/0.93, allocations: 4.722 MB / 0.8676 GB, free: 26.99 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02616/0.9562, allocations: 13.26 MB / 0.8805 GB, free: 26.35 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.9562, allocations: 2.438 kB / 0.8805 GB, free: 26.35 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.225e-06/0.9562, allocations: 0 / 0.8805 GB, free: 26.35 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006321/0.9569, allocations: 0.5 kB / 0.8805 GB, free: 26.35 MB / 0.67 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.03825/0.9951, allocations: 8.729 MB / 0.8891 GB, free: 23.2 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.9952, allocations: 9.75 kB / 0.8891 GB, free: 23.2 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007151/1.002, allocations: 0.8951 MB / 0.8899 GB, free: 22.77 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01733/1.02, allocations: 6.754 MB / 0.8965 GB, free: 21.75 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000571/1.02, allocations: 469.4 kB / 0.897 GB, free: 21.73 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003555/1.024, allocations: 0.5985 MB / 0.8976 GB, free: 21.72 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02613/1.05, allocations: 9.025 MB / 0.9064 GB, free: 20.75 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002656/1.05, allocations: 24.33 kB / 0.9064 GB, free: 20.75 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002386/1.053, allocations: 257.8 kB / 0.9066 GB, free: 20.75 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001961/1.053, allocations: 184.8 kB / 0.9068 GB, free: 20.75 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01958/1.073, allocations: 7.442 MB / 0.9141 GB, free: 20.7 MB / 0.67 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.05794/1.131, allocations: 36.1 MB / 0.9493 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00694/1.138, allocations: 4.275 MB / 0.9535 GB, free: 6.008 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00482/1.142, allocations: 3.299 MB / 0.9567 GB, free: 4.422 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/1.144, allocations: 0.9575 MB / 0.9577 GB, free: 3.41 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004347/1.148, allocations: 2.393 MB / 0.96 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003583/1.152, allocations: 388.3 kB / 0.9604 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=317): time 1.238e-05/1.152, allocations: 0 / 0.9604 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of matching and sorting (n=317): time 0.01612/1.168, allocations: 7.16 MB / 0.9674 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.335e-05/1.168, allocations: 81.91 kB / 0.9675 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01211/1.18, allocations: 5.67 MB / 0.973 GB, free: 5.977 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.001152/1.181, allocations: 85.7 kB / 0.9731 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.004438/1.186, allocations: 3.28 MB / 0.9763 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002539/1.188, allocations: 1.167 MB / 0.9774 GB, free: 1.449 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001794/1.19, allocations: 0.8624 MB / 0.9783 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.19, allocations: 309.1 kB / 0.9786 GB, free: 276 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003978/1.194, allocations: 2.162 MB / 0.9807 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005576/1.2, allocations: 3.698 MB / 0.9843 GB, free: 9.727 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/1.211, allocations: 6.318 MB / 0.9904 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.359e-05/1.211, allocations: 16 kB / 0.9905 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01535/1.226, allocations: 6.798 MB / 0.9971 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.287e-05/1.227, allocations: 53.7 kB / 0.9972 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.453e-05/1.227, allocations: 51.98 kB / 0.9972 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/1.228, allocations: 431.7 kB / 0.9976 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004192/1.232, allocations: 1.016 MB / 0.9986 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006817/1.239, allocations: 5.7 MB / 1.004 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006808/1.246, allocations: 287.7 kB / 1.004 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001315/1.247, allocations: 220 kB / 1.005 GB, free: 4.441 MB / 0.7325 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.006721/1.254, allocations: 2.482 MB / 1.007 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002366/1.256, allocations: 0.5512 MB / 1.008 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/1.267, allocations: 5.268 MB / 1.013 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.198e-05/1.267, allocations: 32 kB / 1.013 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/1.267, allocations: 4 kB / 1.013 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007598/1.275, allocations: 4.532 MB / 1.017 GB, free: 7.504 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03048/1.305, allocations: 11.98 MB / 1.029 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/1.305, allocations: 0 / 1.029 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002917/1.308, allocations: 0.6443 MB / 1.03 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001006/1.309, allocations: 370.9 kB / 1.03 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002776/1.309, allocations: 83.95 kB / 1.03 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006428/1.316, allocations: 5.632 MB / 1.035 GB, free: 4.57 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/1.316, allocations: 0 / 1.035 GB, free: 4.57 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01579/1.332, allocations: 7.797 MB / 1.043 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004937/1.337, allocations: 1.185 MB / 1.044 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002722/1.339, allocations: 67.92 kB / 1.044 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0054/1.345, allocations: 197.1 kB / 1.045 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007614/1.346, allocations: 198.2 kB / 1.045 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005182/1.346, allocations: 139.9 kB / 1.045 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.009334/1.355, allocations: 3.959 MB / 1.049 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.5e-07/1.355, allocations: 0 / 1.049 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.01106/1.367, allocations: 2.027 MB / 1.051 GB, free: 4.934 MB / 0.7794 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.002205/1.369, allocations: 499.9 kB / 1.051 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01105/1.38, allocations: 5.453 MB / 1.056 GB, free: 15.18 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/1.38, allocations: 128 / 1.056 GB, free: 15.18 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004792/1.385, allocations: 2.543 MB / 1.059 GB, free: 12.66 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02292/1.408, allocations: 3.394 MB / 1.062 GB, free: 9.379 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0338/1.442, allocations: 14.13 MB / 1.076 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006707/1.448, allocations: 4.549 MB / 1.081 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002542/1.451, allocations: 498.6 kB / 1.081 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of SimCode: time 8.21e-07/1.451, allocations: 0 / 1.081 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of Templates: time 0.7399/2.191, allocations: 188 MB / 1.265 GB, free: 338.5 MB / 0.9356 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: 29.402051026932895] Failed to read output from testmodel.py, exit status != 0: 2.1981949820183218 2.207672839 1.249461096 Calling exit ...