Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001268/0.001268, allocations: 104.9 kB / 16.52 MB, free: 6.656 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.001167/0.001167, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.35/1.35, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7262/0.7262, allocations: 115.3 MB / 406.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 63.91 kB / 493.6 MB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4315, allocations: 76.17 MB / 0.5564 GB, free: 36.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05294/0.4845, allocations: 55.64 MB / 0.6107 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02474/0.5093, allocations: 17.91 MB / 0.6282 GB, free: 10.98 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004481/0.5139, allocations: 71.56 kB / 0.6283 GB, free: 10.91 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00318/0.5171, allocations: 0.7263 MB / 0.629 GB, free: 10.18 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008787/0.5259, allocations: 2.328 MB / 0.6312 GB, free: 7.844 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004536/0.5305, allocations: 1.381 MB / 0.6326 GB, free: 6.473 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.02486/0.5553, allocations: 27.82 MB / 0.6598 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01196/0.5673, allocations: 8.701 MB / 0.6683 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0127/0.5801, allocations: 5.529 MB / 0.6737 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01169/0.5918, allocations: 6.174 MB / 0.6797 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002957/0.5948, allocations: 472 kB / 0.6801 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007158/0.602, allocations: 1.155 MB / 0.6813 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.004039/0.6061, allocations: 1.794 MB / 0.683 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.01125/0.6174, allocations: 4.125 MB / 0.687 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0136/0.631, allocations: 10.64 MB / 0.6974 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.631, allocations: 0 / 0.6974 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.11e-07/0.6311, allocations: 0 / 0.6974 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.00052/0.6316, allocations: 0 / 0.6974 GB, free: 3.797 MB / 0.5294 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.0256/0.6572, allocations: 8.495 MB / 0.7057 GB, free: 11.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.6573, allocations: 15.97 kB / 0.7057 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004854/0.6621, allocations: 0.8547 MB / 0.7066 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01469/0.6769, allocations: 6.625 MB / 0.7131 GB, free: 3.648 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005103/0.6774, allocations: 464.4 kB / 0.7135 GB, free: 3.191 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00268/0.6801, allocations: 0.6014 MB / 0.7141 GB, free: 2.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02318/0.7033, allocations: 9.021 MB / 0.7229 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002821/0.7036, allocations: 19.88 kB / 0.7229 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001932/0.7056, allocations: 260 kB / 0.7232 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002209/0.7058, allocations: 179.9 kB / 0.7233 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0166/0.7224, allocations: 7.449 MB / 0.7306 GB, free: 1.34 MB / 0.5606 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.4032/1.126, allocations: 35.9 MB / 0.7657 GB, free: 139.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00724/1.133, allocations: 4.279 MB / 0.7698 GB, free: 138.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005138/1.138, allocations: 3.308 MB / 0.7731 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/1.139, allocations: 0.9587 MB / 0.774 GB, free: 136.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004385/1.144, allocations: 2.386 MB / 0.7763 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003431/1.147, allocations: 450.6 kB / 0.7768 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=317): time 1.788e-05/1.147, allocations: 1.203 kB / 0.7768 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=317): time 0.01384/1.161, allocations: 7.098 MB / 0.7837 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/1.161, allocations: 84.62 kB / 0.7838 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009219/1.17, allocations: 5.462 MB / 0.7891 GB, free: 131 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009335/1.171, allocations: 91.33 kB / 0.7892 GB, free: 130.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002511/1.174, allocations: 3.2 MB / 0.7923 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001487/1.175, allocations: 1.117 MB / 0.7934 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001133/1.177, allocations: 0.8537 MB / 0.7943 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.335e-05/1.177, allocations: 301.1 kB / 0.7945 GB, free: 126.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002899/1.18, allocations: 2.151 MB / 0.7966 GB, free: 125.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003401/1.183, allocations: 3.689 MB / 0.8002 GB, free: 122.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006681/1.19, allocations: 6.307 MB / 0.8064 GB, free: 117.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-05/1.19, allocations: 11.69 kB / 0.8064 GB, free: 117.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01012/1.2, allocations: 6.77 MB / 0.813 GB, free: 112.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.077e-05/1.2, allocations: 49.7 kB / 0.8131 GB, free: 112.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.527e-05/1.2, allocations: 52 kB / 0.8131 GB, free: 112.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008775/1.201, allocations: 430.6 kB / 0.8135 GB, free: 111.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003339/1.204, allocations: 0.9983 MB / 0.8145 GB, free: 110.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004351/1.209, allocations: 5.262 MB / 0.8196 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005988/1.215, allocations: 478.5 kB / 0.8201 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008192/1.215, allocations: 216 kB / 0.8203 GB, free: 104.6 MB / 0.5762 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.005167/1.221, allocations: 2.479 MB / 0.8227 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002139/1.223, allocations: 0.5249 MB / 0.8232 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008098/1.231, allocations: 5.247 MB / 0.8284 GB, free: 96.26 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.446e-05/1.231, allocations: 32 kB / 0.8284 GB, free: 96.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/1.231, allocations: 11.94 kB / 0.8284 GB, free: 96.22 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005069/1.236, allocations: 4.515 MB / 0.8328 GB, free: 91.6 MB / 0.5762 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 postOpt removeSimpleEquations (simulation): time 0.02139/1.257, allocations: 11.97 MB / 0.8445 GB, free: 79.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/1.257, allocations: 4 kB / 0.8445 GB, free: 79.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00246/1.26, allocations: 0.636 MB / 0.8451 GB, free: 78.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007425/1.261, allocations: 375.1 kB / 0.8455 GB, free: 78.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002121/1.261, allocations: 87.95 kB / 0.8456 GB, free: 78.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00401/1.265, allocations: 5.179 MB / 0.8506 GB, free: 73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.265, allocations: 0 / 0.8506 GB, free: 73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009695/1.275, allocations: 7.62 MB / 0.8581 GB, free: 65.29 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003404/1.278, allocations: 1.127 MB / 0.8592 GB, free: 64.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001472/1.28, allocations: 63.98 kB / 0.8592 GB, free: 64.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004629/1.284, allocations: 469.3 kB / 0.8597 GB, free: 63.62 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004478/1.285, allocations: 202.2 kB / 0.8599 GB, free: 63.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003519/1.285, allocations: 139.9 kB / 0.86 GB, free: 63.28 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005518/1.291, allocations: 3.807 MB / 0.8637 GB, free: 59.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/1.291, allocations: 0 / 0.8637 GB, free: 59.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007508/1.298, allocations: 1.986 MB / 0.8657 GB, free: 57.52 MB / 0.5762 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.001505/1.3, allocations: 0.4914 MB / 0.8661 GB, free: 57.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007417/1.307, allocations: 5.363 MB / 0.8714 GB, free: 51.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.307, allocations: 0 / 0.8714 GB, free: 51.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003247/1.31, allocations: 2.508 MB / 0.8738 GB, free: 49.12 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01544/1.326, allocations: 3.223 MB / 0.877 GB, free: 45.99 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0216/1.348, allocations: 16.5 MB / 0.8931 GB, free: 29.44 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003214/1.351, allocations: 4.553 MB / 0.8975 GB, free: 24.85 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002452/1.353, allocations: 483.2 kB / 0.898 GB, free: 24.38 MB / 0.5762 GB Notification: Performance of SimCode: time 1.382e-06/1.353, allocations: 0 / 0.898 GB, free: 24.38 MB / 0.5762 GB Notification: Performance of Templates: time 0.5427/1.896, allocations: 185.8 MB / 1.079 GB, free: 139 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)