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.001417/0.001418, allocations: 108.7 kB / 16.41 MB, free: 6.461 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.001404/0.001404, allocations: 187 kB / 17.34 MB, free: 5.719 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.517/1.517, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8154/0.8154, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 62.72 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1631, allocations: 80.93 MB / 0.6653 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05465/0.2178, allocations: 55.99 MB / 0.72 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0244/0.2422, allocations: 17.94 MB / 0.7375 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003647/0.2459, allocations: 75.62 kB / 0.7375 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003307/0.2493, allocations: 0.9002 MB / 0.7384 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0084/0.2577, allocations: 2.491 MB / 0.7409 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004702/0.2625, allocations: 1.536 MB / 0.7424 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.4673/0.7298, allocations: 21.21 MB / 0.7631 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01898/0.7488, allocations: 10.7 MB / 0.7735 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01702/0.7659, allocations: 7.251 MB / 0.7806 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01263/0.7785, allocations: 6.37 MB / 0.7868 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003967/0.7825, allocations: 0.9371 MB / 0.7877 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008703/0.7913, allocations: 1.703 MB / 0.7894 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005138/0.7965, allocations: 2.339 MB / 0.7917 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01289/0.8094, allocations: 4.708 MB / 0.7963 GB, free: 320 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01994/0.8293, allocations: 13.21 MB / 0.8092 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.8294, allocations: 0 / 0.8092 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.835e-06/0.8294, allocations: 4 kB / 0.8092 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0005474/0.83, allocations: 4 kB / 0.8092 GB, free: 9.914 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.02742/0.8574, allocations: 8.519 MB / 0.8175 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.8575, allocations: 9.109 kB / 0.8175 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005392/0.8629, allocations: 0.8535 MB / 0.8183 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01523/0.8781, allocations: 6.695 MB / 0.8249 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004117/0.8786, allocations: 464.1 kB / 0.8253 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002288/0.8809, allocations: 0.6015 MB / 0.8259 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02398/0.9049, allocations: 9.026 MB / 0.8347 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002136/0.9052, allocations: 22.5 kB / 0.8348 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00169/0.9069, allocations: 259 kB / 0.835 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002507/0.9071, allocations: 186.6 kB / 0.8352 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0173/0.9244, allocations: 7.448 MB / 0.8424 GB, free: 7.91 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.05907/0.9836, allocations: 35.98 MB / 0.8776 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007207/0.9908, allocations: 4.276 MB / 0.8818 GB, free: 14.23 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004872/0.9957, allocations: 3.3 MB / 0.885 GB, free: 10.94 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/0.9971, allocations: 0.9599 MB / 0.8859 GB, free: 9.812 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004407/1.002, allocations: 2.386 MB / 0.8883 GB, free: 7.391 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002933/1.005, allocations: 367.8 kB / 0.8886 GB, free: 7.027 MB / 0.67 GB Notification: Performance of pre-optimization done (n=317): time 1.307e-05/1.005, allocations: 0 / 0.8886 GB, free: 7.027 MB / 0.67 GB Notification: Performance of matching and sorting (n=317): time 0.01431/1.019, allocations: 7.143 MB / 0.8956 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/1.019, allocations: 85.91 kB / 0.8957 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01027/1.029, allocations: 5.662 MB / 0.9012 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0009657/1.03, allocations: 85.7 kB / 0.9013 GB, free: 9.988 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.003551/1.034, allocations: 3.197 MB / 0.9044 GB, free: 6.777 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.002053/1.036, allocations: 1.117 MB / 0.9055 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001464/1.037, allocations: 0.8541 MB / 0.9063 GB, free: 4.801 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.037, allocations: 309.1 kB / 0.9066 GB, free: 4.496 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003489/1.041, allocations: 2.163 MB / 0.9087 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004557/1.046, allocations: 3.692 MB / 0.9123 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0089/1.054, allocations: 6.32 MB / 0.9185 GB, free: 7.117 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-05/1.055, allocations: 19.75 kB / 0.9185 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01354/1.068, allocations: 6.772 MB / 0.9251 GB, free: 0.5508 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-05/1.068, allocations: 57.69 kB / 0.9252 GB, free: 500 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.95e-05/1.068, allocations: 48 kB / 0.9252 GB, free: 452 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/1.069, allocations: 444 kB / 0.9257 GB, free: 4 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004156/1.074, allocations: 1.002 MB / 0.9266 GB, free: 15 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006097/1.08, allocations: 5.708 MB / 0.9322 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00592/1.086, allocations: 291.4 kB / 0.9325 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009535/1.087, allocations: 216 kB / 0.9327 GB, free: 8.535 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.005566/1.092, allocations: 2.479 MB / 0.9351 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001925/1.094, allocations: 0.5288 MB / 0.9356 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009003/1.103, allocations: 5.26 MB / 0.9408 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.865e-05/1.103, allocations: 35.98 kB / 0.9408 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/1.103, allocations: 4 kB / 0.9408 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006602/1.11, allocations: 4.53 MB / 0.9452 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02556/1.135, allocations: 11.98 MB / 0.9569 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/1.136, allocations: 4 kB / 0.9569 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002864/1.138, allocations: 0.6437 MB / 0.9576 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008711/1.139, allocations: 369.3 kB / 0.9579 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002685/1.14, allocations: 87.95 kB / 0.958 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00569/1.145, allocations: 5.628 MB / 0.9635 GB, free: 8.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.145, allocations: 0 / 0.9635 GB, free: 8.48 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01341/1.159, allocations: 7.761 MB / 0.9711 GB, free: 0.625 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003942/1.163, allocations: 1.159 MB / 0.9722 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001909/1.165, allocations: 67.92 kB / 0.9723 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00456/1.169, allocations: 199.3 kB / 0.9725 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007717/1.17, allocations: 202.2 kB / 0.9727 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004657/1.171, allocations: 139.9 kB / 0.9728 GB, free: 14.85 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.008254/1.179, allocations: 3.959 MB / 0.9767 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.31e-07/1.179, allocations: 0 / 0.9767 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.008753/1.188, allocations: 2.007 MB / 0.9786 GB, free: 8.898 MB / 0.7637 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.00186/1.189, allocations: 0.4901 MB / 0.9791 GB, free: 8.43 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01007/1.2, allocations: 5.433 MB / 0.9844 GB, free: 2.945 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.316e-05/1.2, allocations: 7.938 kB / 0.9844 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004943/1.205, allocations: 2.545 MB / 0.9869 GB, free: 372 kB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0191/1.224, allocations: 3.396 MB / 0.9902 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0293/1.253, allocations: 13.92 MB / 1.004 GB, free: 15.11 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006633/1.26, allocations: 4.549 MB / 1.008 GB, free: 10.53 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002541/1.262, allocations: 499.2 kB / 1.009 GB, free: 10.04 MB / 0.795 GB Notification: Performance of SimCode: time 1.633e-06/1.262, allocations: 0 / 1.009 GB, free: 10.04 MB / 0.795 GB Notification: Performance of Templates: time 0.6239/1.886, allocations: 188.9 MB / 1.193 GB, free: 210.5 MB / 0.8419 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)