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.001715/0.001715, allocations: 88.72 kB / 19.44 MB, free: 356 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.002233/0.002233, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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 1.501/1.501, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42: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 1.319/1.319, allocations: 154.8 MB / 414.4 MB, free: 464 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] 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: Performance of FrontEnd - loaded program: time 2.876e-06/2.876e-06, allocations: 0.6562 kB / 0.5198 GB, free: 2.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.991e-05/4.278e-05, allocations: 6.312 kB / 0.5198 GB, free: 2.312 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.07802/0.07806, allocations: 51.23 MB / 0.5699 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.03169/0.1098, allocations: 16.92 MB / 0.5864 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003318/0.1131, allocations: 99.19 kB / 0.5865 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003659/0.1167, allocations: 0.9116 MB / 0.5874 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.009835/0.1266, allocations: 2.731 MB / 0.59 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005653/0.1322, allocations: 1.68 MB / 0.5917 GB, free: 8.707 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.03368/0.1659, allocations: 22.26 MB / 0.6134 GB, free: 2.383 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01689/0.1828, allocations: 7.377 MB / 0.6206 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03104/0.2138, allocations: 10.47 MB / 0.6309 GB, free: 0.5156 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0145/0.2283, allocations: 6.308 MB / 0.637 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.003635/0.232, allocations: 0.9414 MB / 0.6379 GB, free: 9.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007723/0.2397, allocations: 1.592 MB / 0.6395 GB, free: 7.656 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.005819/0.2455, allocations: 2.496 MB / 0.6419 GB, free: 5.152 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.01143/0.2569, allocations: 3.356 MB / 0.6452 GB, free: 1.785 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.02519/0.2821, allocations: 13.53 MB / 0.6584 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.2821, allocations: 4 kB / 0.6584 GB, free: 4.219 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2821, allocations: 0 / 0.6584 GB, free: 4.219 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0005174/0.2827, allocations: 0 / 0.6584 GB, free: 4.219 MB / 0.6198 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.02635/0.309, allocations: 8.556 MB / 0.6668 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.3091, allocations: 12.03 kB / 0.6668 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007132/0.3162, allocations: 1.514 MB / 0.6683 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0189/0.3351, allocations: 7.167 MB / 0.6753 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009784/0.3361, allocations: 460.6 kB / 0.6757 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003642/0.3397, allocations: 0.6097 MB / 0.6763 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5263/0.866, allocations: 10.11 MB / 0.6862 GB, free: 181.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001699/0.8662, allocations: 19.69 kB / 0.6862 GB, free: 181.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009536/0.8671, allocations: 265.2 kB / 0.6864 GB, free: 181 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001462/0.8673, allocations: 174.5 kB / 0.6866 GB, free: 181 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01438/0.8816, allocations: 7.45 MB / 0.6939 GB, free: 178.5 MB / 0.6355 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.05103/0.9327, allocations: 26.63 MB / 0.7199 GB, free: 164 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006138/0.9388, allocations: 3.976 MB / 0.7238 GB, free: 162.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004321/0.9431, allocations: 3.038 MB / 0.7267 GB, free: 161.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009448/0.9441, allocations: 224.5 kB / 0.7269 GB, free: 161.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003898/0.948, allocations: 3.457 MB / 0.7303 GB, free: 159.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001967/0.9499, allocations: 330 kB / 0.7306 GB, free: 159.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=317): time 7.203e-06/0.9499, allocations: 1.594 kB / 0.7306 GB, free: 159.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=317): time 0.01069/0.9606, allocations: 7.04 MB / 0.7375 GB, free: 155.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.9607, allocations: 90.7 kB / 0.7376 GB, free: 155.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005586/0.9663, allocations: 4.975 MB / 0.7425 GB, free: 150.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000399/0.9667, allocations: 90.27 kB / 0.7425 GB, free: 150.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.002148/0.9688, allocations: 3.264 MB / 0.7457 GB, free: 147.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001026/0.9698, allocations: 1.156 MB / 0.7469 GB, free: 146.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/0.9709, allocations: 0.8507 MB / 0.7477 GB, free: 146.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.841e-05/0.9709, allocations: 305.7 kB / 0.748 GB, free: 145.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002561/0.9735, allocations: 2.189 MB / 0.7501 GB, free: 143.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003069/0.9765, allocations: 3.828 MB / 0.7539 GB, free: 139 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006241/0.9828, allocations: 6.328 MB / 0.76 GB, free: 132 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-05/0.9828, allocations: 18.75 kB / 0.7601 GB, free: 132 MB / 0.6355 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009504/0.9923, allocations: 6.957 MB / 0.7668 GB, free: 125 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.749e-05/0.9924, allocations: 57.69 kB / 0.7669 GB, free: 125 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.263e-05/0.9924, allocations: 48 kB / 0.7669 GB, free: 124.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002182/0.9946, allocations: 0.5402 MB / 0.7675 GB, free: 124.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003272/0.9979, allocations: 1.006 MB / 0.7685 GB, free: 123.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004238/1.002, allocations: 5.391 MB / 0.7737 GB, free: 117.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004076/1.006, allocations: 289.5 kB / 0.774 GB, free: 117.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000402/1.007, allocations: 222.8 kB / 0.7742 GB, free: 117.3 MB / 0.6355 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.003309/1.01, allocations: 2.482 MB / 0.7766 GB, free: 114.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001247/1.011, allocations: 0.5829 MB / 0.7772 GB, free: 114.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006722/1.018, allocations: 5.201 MB / 0.7823 GB, free: 109.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/1.018, allocations: 35.94 kB / 0.7823 GB, free: 109 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/1.018, allocations: 4 kB / 0.7823 GB, free: 109 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005095/1.023, allocations: 4.531 MB / 0.7867 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/1.04, allocations: 10.44 MB / 0.7969 GB, free: 93.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/1.04, allocations: 0.875 kB / 0.7969 GB, free: 93.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002487/1.042, allocations: 0.6463 MB / 0.7976 GB, free: 93.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001949/1.044, allocations: 484.8 kB / 0.798 GB, free: 92.85 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002088/1.044, allocations: 87.25 kB / 0.7981 GB, free: 92.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00403/1.048, allocations: 5.318 MB / 0.8033 GB, free: 87.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.048, allocations: 0 / 0.8033 GB, free: 87.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00956/1.058, allocations: 7.772 MB / 0.8109 GB, free: 79.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002994/1.061, allocations: 1.088 MB / 0.812 GB, free: 78.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/1.062, allocations: 67.98 kB / 0.812 GB, free: 78.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002898/1.065, allocations: 197.9 kB / 0.8122 GB, free: 78.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004285/1.065, allocations: 210 kB / 0.8124 GB, free: 77.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002915/1.066, allocations: 135.9 kB / 0.8125 GB, free: 77.71 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.004178/1.07, allocations: 3.389 MB / 0.8159 GB, free: 74.33 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.1e-08/1.07, allocations: 0 / 0.8159 GB, free: 74.33 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.006481/1.076, allocations: 2.101 MB / 0.8179 GB, free: 72.23 MB / 0.6355 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.001064/1.077, allocations: 484.5 kB / 0.8184 GB, free: 71.79 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006546/1.084, allocations: 5.262 MB / 0.8235 GB, free: 66.46 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/1.084, allocations: 4 kB / 0.8235 GB, free: 66.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002728/1.087, allocations: 2.369 MB / 0.8258 GB, free: 64.06 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01221/1.099, allocations: 2.883 MB / 0.8286 GB, free: 61.38 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0182/1.117, allocations: 13.81 MB / 0.8421 GB, free: 47.48 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003083/1.12, allocations: 4.146 MB / 0.8462 GB, free: 43.29 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00515/1.125, allocations: 1.869 MB / 0.848 GB, free: 41.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/1.127, allocations: 436.3 kB / 0.8484 GB, free: 41.02 MB / 0.6355 GB Notification: Performance of SimCode: time 1.853e-06/1.127, allocations: 4 kB / 0.8484 GB, free: 41.02 MB / 0.6355 GB Notification: Performance of Templates: time 0.4041/1.531, allocations: 102.4 MB / 0.9484 GB, free: 212.3 MB / 0.6824 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: 10.879998589050956]