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.001564/0.001564, allocations: 110.8 kB / 16.42 MB, free: 6.527 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.001793/0.001793, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.346/1.346, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.787/0.787, allocations: 132.2 MB / 423.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 62.28 kB / 0.582 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1377, allocations: 80.2 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05844/0.1961, allocations: 55.99 MB / 0.715 GB, free: 2.062 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02368/0.2198, allocations: 17.92 MB / 0.7325 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002426/0.2223, allocations: 79.56 kB / 0.7326 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002714/0.225, allocations: 0.9198 MB / 0.7335 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006804/0.2319, allocations: 2.612 MB / 0.736 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003814/0.2357, allocations: 1.535 MB / 0.7375 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3551/0.5908, allocations: 21.23 MB / 0.7583 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01411/0.605, allocations: 10.71 MB / 0.7687 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01474/0.6198, allocations: 7.251 MB / 0.7758 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01185/0.6316, allocations: 6.376 MB / 0.782 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002478/0.6341, allocations: 0.938 MB / 0.783 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006366/0.6405, allocations: 1.704 MB / 0.7846 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002694/0.6432, allocations: 2.342 MB / 0.7869 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00823/0.6515, allocations: 4.706 MB / 0.7915 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01316/0.6646, allocations: 13.24 MB / 0.8044 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6647, allocations: 0 / 0.8044 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6647, allocations: 0 / 0.8044 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003789/0.6651, allocations: 0 / 0.8044 GB, free: 12.86 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.0185/0.6836, allocations: 8.726 MB / 0.8129 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.6836, allocations: 12.02 kB / 0.813 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002916/0.6866, allocations: 0.8942 MB / 0.8138 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/0.6984, allocations: 6.741 MB / 0.8204 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003129/0.6987, allocations: 462.7 kB / 0.8209 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001125/0.6999, allocations: 0.5976 MB / 0.8214 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0147/0.7146, allocations: 9.017 MB / 0.8302 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/0.7147, allocations: 25.33 kB / 0.8303 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006519/0.7154, allocations: 263.1 kB / 0.8305 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001671/0.7156, allocations: 183.6 kB / 0.8307 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0127/0.7283, allocations: 7.45 MB / 0.838 GB, free: 13.35 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.04627/0.7745, allocations: 36.06 MB / 0.8732 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006232/0.7808, allocations: 4.283 MB / 0.8774 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005147/0.786, allocations: 3.298 MB / 0.8806 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001395/0.7874, allocations: 0.9576 MB / 0.8815 GB, free: 15.2 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004116/0.7915, allocations: 2.39 MB / 0.8839 GB, free: 12.77 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002585/0.7941, allocations: 384.5 kB / 0.8842 GB, free: 12.4 MB / 0.67 GB Notification: Performance of pre-optimization done (n=317): time 9.919e-06/0.7942, allocations: 0 / 0.8842 GB, free: 12.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=317): time 0.01383/0.808, allocations: 7.152 MB / 0.8912 GB, free: 5.172 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.8081, allocations: 89.89 kB / 0.8913 GB, free: 5.07 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0099/0.818, allocations: 5.667 MB / 0.8968 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004848/0.8185, allocations: 89.45 kB / 0.8969 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.003137/0.8216, allocations: 3.281 MB / 0.9001 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001319/0.823, allocations: 1.17 MB / 0.9013 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001558/0.8245, allocations: 0.8624 MB / 0.9021 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.784e-05/0.8246, allocations: 306.8 kB / 0.9024 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003465/0.8281, allocations: 2.16 MB / 0.9045 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004743/0.8329, allocations: 3.695 MB / 0.9081 GB, free: 3.168 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008885/0.8418, allocations: 6.325 MB / 0.9143 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.102e-05/0.8418, allocations: 16 kB / 0.9143 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01234/0.8542, allocations: 6.794 MB / 0.9209 GB, free: 5.777 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 7.075e-05/0.8543, allocations: 53.7 kB / 0.921 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-05/0.8544, allocations: 52.16 kB / 0.921 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.8554, allocations: 437.3 kB / 0.9215 GB, free: 5.234 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003606/0.8591, allocations: 0.9984 MB / 0.9224 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006285/0.8654, allocations: 5.705 MB / 0.928 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004634/0.87, allocations: 290.3 kB / 0.9283 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005519/0.8706, allocations: 220 kB / 0.9285 GB, free: 13.89 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.004589/0.8752, allocations: 2.484 MB / 0.9309 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001767/0.877, allocations: 0.5551 MB / 0.9315 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/0.887, allocations: 5.264 MB / 0.9366 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006979/0.894, allocations: 4.524 MB / 0.941 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.894, allocations: 0 / 0.941 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003305/0.8974, allocations: 1.211 MB / 0.9422 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00155/0.8989, allocations: 67.92 kB / 0.9423 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003718/0.9026, allocations: 184.5 kB / 0.9424 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004665/0.9031, allocations: 214.2 kB / 0.9426 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01038/0.9135, allocations: 5.258 MB / 0.9478 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01178/0.9253, allocations: 7.952 MB / 0.9555 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003016/0.9283, allocations: 2.229 MB / 0.9577 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.007356/0.9357, allocations: 3.959 MB / 0.9616 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of Backend: time 4.41e-07/0.9357, allocations: 0 / 0.9616 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01035/0.9461, allocations: 4.118 MB / 0.9656 GB, free: 7.941 MB / 0.7481 GB Notification: Performance of SimCode: time 0.03284/0.979, allocations: 15.66 MB / 0.9809 GB, free: 8.367 MB / 0.7637 GB Notification: Performance of Templates: time 0.4711/1.45, allocations: 118.2 MB / 1.096 GB, free: 298.7 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)