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: 97.2 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 175.5 kB / 16.57 MB, free: 6.395 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.32/1.32, allocations: 223.2 MB / 240.5 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6728/0.6728, allocations: 113.8 MB / 405.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003035/0.0003035, allocations: 8 kB / 493 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.127, allocations: 77.15 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.2993/0.4264, allocations: 46.81 MB / 0.6025 GB, free: 11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01912/0.4455, allocations: 15.54 MB / 0.6177 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002672/0.4482, allocations: 69.81 kB / 0.6178 GB, free: 488 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002543/0.4508, allocations: 0.8152 MB / 0.6186 GB, free: 12 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007501/0.4583, allocations: 2.153 MB / 0.6207 GB, free: 14.6 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005135/0.4635, allocations: 1.579 MB / 0.6222 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01567/0.4791, allocations: 11.45 MB / 0.6334 GB, free: 6.957 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0104/0.4896, allocations: 7.156 MB / 0.6404 GB, free: 3.148 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009674/0.4993, allocations: 4.484 MB / 0.6448 GB, free: 15.69 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007794/0.5071, allocations: 3.859 MB / 0.6485 GB, free: 11.82 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001756/0.5089, allocations: 348 kB / 0.6489 GB, free: 11.48 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005134/0.5141, allocations: 0.8313 MB / 0.6497 GB, free: 10.64 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002652/0.5167, allocations: 1.471 MB / 0.6511 GB, free: 9.168 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003444/0.5202, allocations: 1.611 MB / 0.6527 GB, free: 7.547 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.5319, allocations: 10.28 MB / 0.6627 GB, free: 13.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.532, allocations: 3.938 kB / 0.6627 GB, free: 13.24 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.532, allocations: 4 kB / 0.6627 GB, free: 13.24 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004067/0.5324, allocations: 3.938 kB / 0.6627 GB, free: 13.23 MB / 494.1 MB 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.01594/0.5483, allocations: 6.948 MB / 0.6695 GB, free: 6.195 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.5484, allocations: 12.03 kB / 0.6695 GB, free: 6.184 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003797/0.5522, allocations: 0.8538 MB / 0.6704 GB, free: 5.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0137/0.5659, allocations: 6.032 MB / 0.6763 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000454/0.5664, allocations: 460.2 kB / 0.6767 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001826/0.5683, allocations: 0.5937 MB / 0.6773 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02003/0.5883, allocations: 8.931 MB / 0.686 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003135/0.5887, allocations: 23.86 kB / 0.686 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00166/0.5903, allocations: 271.9 kB / 0.6863 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001935/0.5905, allocations: 179.9 kB / 0.6865 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01555/0.6061, allocations: 7.41 MB / 0.6937 GB, free: 13.05 MB / 0.5137 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.05315/0.6593, allocations: 36.22 MB / 0.7291 GB, free: 6.754 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006938/0.6663, allocations: 4.331 MB / 0.7333 GB, free: 2.422 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001342/0.6676, allocations: 0.9856 MB / 0.7343 GB, free: 1.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004407/0.6721, allocations: 2.387 MB / 0.7366 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00285/0.6749, allocations: 479.3 kB / 0.737 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=317): time 8.877e-06/0.675, allocations: 0 / 0.737 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=317): time 0.01416/0.6891, allocations: 7.149 MB / 0.744 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.6892, allocations: 81.91 kB / 0.7441 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01023/0.6995, allocations: 5.838 MB / 0.7498 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000735/0.7002, allocations: 85.7 kB / 0.7499 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003398/0.7036, allocations: 3.196 MB / 0.753 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001618/0.7053, allocations: 1.121 MB / 0.7541 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005381/0.7058, allocations: 84 kB / 0.7542 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0003572/0.7062, allocations: 499.6 kB / 0.7547 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003886/0.7101, allocations: 2.16 MB / 0.7568 GB, free: 10 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004696/0.7148, allocations: 3.677 MB / 0.7604 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0047/0.7195, allocations: 2.923 MB / 0.7632 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.105e-05/0.7196, allocations: 19.94 kB / 0.7632 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01245/0.7321, allocations: 6.768 MB / 0.7698 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.713e-05/0.7322, allocations: 57.64 kB / 0.7699 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.179e-05/0.7322, allocations: 52 kB / 0.77 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.7333, allocations: 443.5 kB / 0.7704 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004341/0.7376, allocations: 1.049 MB / 0.7714 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005641/0.7433, allocations: 5.317 MB / 0.7766 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005397/0.7487, allocations: 498.7 kB / 0.7771 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007557/0.7495, allocations: 216 kB / 0.7773 GB, free: 3.961 MB / 0.5919 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004508/0.754, allocations: 2.479 MB / 0.7797 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00154/0.7556, allocations: 0.5287 MB / 0.7802 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.7658, allocations: 5.286 MB / 0.7854 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.266e-05/0.7659, allocations: 28 kB / 0.7854 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.699e-05/0.766, allocations: 11.94 kB / 0.7854 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00744/0.7734, allocations: 4.547 MB / 0.7899 GB, free: 6.906 MB / 0.6075 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.02223/0.7957, allocations: 12.16 MB / 0.8017 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/0.7957, allocations: 11.94 kB / 0.8017 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002748/0.7984, allocations: 0.6242 MB / 0.8024 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008434/0.7993, allocations: 368.6 kB / 0.8027 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002916/0.7996, allocations: 83.95 kB / 0.8028 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005386/0.805, allocations: 5.242 MB / 0.8079 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.805, allocations: 0 / 0.8079 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01183/0.8169, allocations: 7.767 MB / 0.8155 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003746/0.8206, allocations: 1.299 MB / 0.8168 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001314/0.822, allocations: 71.94 kB / 0.8168 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004254/0.8262, allocations: 442.2 kB / 0.8172 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004437/0.8267, allocations: 202.2 kB / 0.8174 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003858/0.8271, allocations: 140.3 kB / 0.8176 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00668/0.8338, allocations: 4.092 MB / 0.8216 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.613e-06/0.8338, allocations: 0 / 0.8216 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.007035/0.8408, allocations: 2.014 MB / 0.8235 GB, free: 3.797 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001472/0.8423, allocations: 496.7 kB / 0.824 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.251/1.093, allocations: 5.385 MB / 0.8293 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.093, allocations: 2.875 kB / 0.8293 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004263/1.098, allocations: 2.52 MB / 0.8317 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01519/1.113, allocations: 3.174 MB / 0.8348 GB, free: 213.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02851/1.141, allocations: 16.13 MB / 0.8506 GB, free: 205.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004883/1.146, allocations: 4.75 MB / 0.8552 GB, free: 204 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.007815/1.154, allocations: 2.057 MB / 0.8572 GB, free: 203.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001561/1.156, allocations: 460 kB / 0.8577 GB, free: 203.7 MB / 0.6387 GB Notification: Performance of SimCode: time 7.32e-07/1.156, allocations: 0 / 0.8577 GB, free: 203.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.14/1.296, allocations: 113.6 MB / 0.9686 GB, free: 99.55 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)