Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.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.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified") translateModel(IBPSA.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 95.64 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.001403/0.001403, allocations: 173.6 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.325/1.325, allocations: 223.2 MB / 240.5 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6713/0.6713, allocations: 113.8 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.0003112, allocations: 11.98 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1358, allocations: 77.16 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.Stratified): time 0.3145/0.4503, allocations: 46.95 MB / 0.6027 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01998/0.4704, allocations: 15.16 MB / 0.6175 GB, free: 0.668 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003055/0.4735, allocations: 62.84 kB / 0.6176 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002848/0.4763, allocations: 0.8658 MB / 0.6184 GB, free: 184 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007868/0.4842, allocations: 2.298 MB / 0.6206 GB, free: 14.7 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005633/0.4899, allocations: 1.722 MB / 0.6223 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01933/0.5092, allocations: 15.73 MB / 0.6377 GB, free: 4.219 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01359/0.5228, allocations: 10.03 MB / 0.6475 GB, free: 12.97 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01281/0.5357, allocations: 6.066 MB / 0.6534 GB, free: 6.883 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01083/0.5465, allocations: 5.302 MB / 0.6586 GB, free: 1.559 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002436/0.549, allocations: 475.9 kB / 0.659 GB, free: 1.094 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006954/0.556, allocations: 1.237 MB / 0.6602 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003804/0.5598, allocations: 2.02 MB / 0.6622 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00526/0.5651, allocations: 2.227 MB / 0.6644 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0162/0.5813, allocations: 14.35 MB / 0.6784 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.5813, allocations: 4 kB / 0.6784 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5813, allocations: 0 / 0.6784 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0005084/0.5818, allocations: 0 / 0.6784 GB, free: 13.2 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2145 * Number of variables: 2145 Notification: Performance of Generate backend data structure: time 0.02149/0.6033, allocations: 9.542 MB / 0.6877 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.6034, allocations: 8.031 kB / 0.6877 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005913/0.6093, allocations: 1.182 MB / 0.6889 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01858/0.6279, allocations: 8.374 MB / 0.6971 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006923/0.6286, allocations: 0.614 MB / 0.6977 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003069/0.6317, allocations: 0.8162 MB / 0.6985 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02746/0.6592, allocations: 12.39 MB / 0.7106 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002164/0.6594, allocations: 27.7 kB / 0.7106 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001366/0.6608, allocations: 360 kB / 0.7109 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000213/0.661, allocations: 247.9 kB / 0.7112 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02057/0.6816, allocations: 10.36 MB / 0.7213 GB, free: 0.6992 MB / 0.5294 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.07281/0.7544, allocations: 49.26 MB / 0.7694 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009626/0.7641, allocations: 6.363 MB / 0.7756 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001341/0.7655, allocations: 0.8476 MB / 0.7764 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006069/0.7716, allocations: 3.412 MB / 0.7798 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004459/0.7761, allocations: 0.5408 MB / 0.7803 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=449): time 1.25e-05/0.7761, allocations: 4 kB / 0.7803 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of matching and sorting (n=449): time 0.01695/0.7931, allocations: 9.069 MB / 0.7892 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.596e-05/0.7932, allocations: 154.3 kB / 0.7893 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01334/0.8065, allocations: 7.955 MB / 0.7971 GB, free: 108 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.00112/0.8077, allocations: 112.2 kB / 0.7972 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.004787/0.8125, allocations: 4.331 MB / 0.8014 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.002359/0.8149, allocations: 1.556 MB / 0.8029 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004904/0.8154, allocations: 124 kB / 0.803 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0004005/0.8158, allocations: 0.542 MB / 0.8036 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004982/0.8208, allocations: 3.005 MB / 0.8065 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00641/0.8272, allocations: 4.866 MB / 0.8113 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006554/0.8338, allocations: 4.061 MB / 0.8152 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-05/0.8339, allocations: 16 kB / 0.8152 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.0181/0.852, allocations: 8.874 MB / 0.8239 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.4992/1.351, allocations: 29.25 MB / 0.8525 GB, free: 178 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001543/1.351, allocations: 57.94 kB / 0.8525 GB, free: 178 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001459/1.352, allocations: 97.59 kB / 0.8526 GB, free: 178 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006415/1.358, allocations: 1.434 MB / 0.854 GB, free: 178 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001784/1.358, allocations: 129.6 kB / 0.8541 GB, free: 178 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007183/1.365, allocations: 0.6406 MB / 0.8548 GB, free: 178 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/1.367, allocations: 274.3 kB / 0.855 GB, free: 178 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/1.367, allocations: 6.969 kB / 0.855 GB, free: 178 MB / 0.6388 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01526/1.382, allocations: 8.281 MB / 0.8631 GB, free: 176.5 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001708/1.382, allocations: 58.94 kB / 0.8632 GB, free: 176.5 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001238/1.382, allocations: 100.6 kB / 0.8633 GB, free: 176.5 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005667/1.388, allocations: 1.427 MB / 0.8647 GB, free: 176.4 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001407/1.388, allocations: 129.8 kB / 0.8648 GB, free: 176.3 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006667/1.395, allocations: 0.6117 MB / 0.8654 GB, free: 176.2 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000799/1.395, allocations: 276.3 kB / 0.8657 GB, free: 176.2 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 264 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent,P.nextEventScaled,dH.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 742 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006338/1.402, allocations: 3.583 MB / 0.8692 GB, free: 174.6 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001893/1.404, allocations: 0.7177 MB / 0.8699 GB, free: 174.6 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/1.417, allocations: 7.154 MB / 0.8768 GB, free: 171.9 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.646e-05/1.417, allocations: 45.73 kB / 0.8769 GB, free: 171.9 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/1.417, allocations: 3.703 kB / 0.8769 GB, free: 171.9 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008469/1.426, allocations: 5.846 MB / 0.8826 GB, free: 169.8 MB / 0.6388 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.02611/1.452, allocations: 16.66 MB / 0.8989 GB, free: 161.6 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/1.452, allocations: 0 / 0.8989 GB, free: 161.6 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003736/1.456, allocations: 0.8895 MB / 0.8997 GB, free: 160.7 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.725e-05/1.456, allocations: 16 kB / 0.8998 GB, free: 160.7 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003466/1.456, allocations: 123.7 kB / 0.8999 GB, free: 160.6 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.617e-05/1.456, allocations: 19.89 kB / 0.8999 GB, free: 160.6 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.456, allocations: 4 kB / 0.8999 GB, free: 160.6 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01355/1.47, allocations: 10.79 MB / 0.9104 GB, free: 150 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005205/1.475, allocations: 1.8 MB / 0.9122 GB, free: 148.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001892/1.477, allocations: 95.98 kB / 0.9123 GB, free: 148.1 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006044/1.483, allocations: 0.6082 MB / 0.9129 GB, free: 147.5 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005962/1.483, allocations: 251 kB / 0.9131 GB, free: 147.2 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004478/1.484, allocations: 199.8 kB / 0.9133 GB, free: 147 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.007279/1.491, allocations: 5.612 MB / 0.9188 GB, free: 141.5 MB / 0.6388 GB Notification: Performance of sort global known variables: time 6.31e-07/1.491, allocations: 0 / 0.9188 GB, free: 141.5 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01235/1.504, allocations: 4.858 MB / 0.9235 GB, free: 136.8 MB / 0.6388 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 21 (tanSim.vol[1].dynBal.U,tanSim.vol[2].dynBal.U,tanSim.vol[3].dynBal.U,tanSim.vol[4].dynBal.U,tanSim.vol[5].dynBal.U,tanSim.vol[6].dynBal.U,tanSim.vol[7].dynBal.U,tanSim.vol[8].dynBal.U,tanSim.vol[9].dynBal.U,tanSim.vol[10].dynBal.U,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,tanEnh.vol[8].dynBal.U,tanEnh.vol[9].dynBal.U,tanEnh.vol[10].dynBal.U,dH.y) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,P.nextEvent,P.nextEventScaled) * Number of discrete states: 12 (P.nextEvent,P.last,P.nextEventScaled,P.b,P.a,$whenCondition2,TWat.nextEvent,TWat.last,TWat.nextEventScaled,TWat.b,TWat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (445): * Single equations (assignments): 441 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001396/1.505, allocations: 0.5875 MB / 0.9241 GB, free: 136.3 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01443/1.519, allocations: 11.49 MB / 0.9353 GB, free: 124.8 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/1.52, allocations: 4.562 kB / 0.9353 GB, free: 124.8 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.003954/1.523, allocations: 3.233 MB / 0.9385 GB, free: 121.5 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01829/1.542, allocations: 4.38 MB / 0.9428 GB, free: 117.3 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02941/1.571, allocations: 22.66 MB / 0.9649 GB, free: 94.56 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005995/1.577, allocations: 6.305 MB / 0.9711 GB, free: 88.22 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.01216/1.589, allocations: 4.371 MB / 0.9753 GB, free: 83.84 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002105/1.592, allocations: 0.6086 MB / 0.9759 GB, free: 83.23 MB / 0.6388 GB Notification: Performance of SimCode: time 7.91e-07/1.592, allocations: 0 / 0.9759 GB, free: 83.23 MB / 0.6388 GB Notification: Performance of Templates: time 0.4707/2.062, allocations: 154.9 MB / 1.127 GB, free: 171.9 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.pipe 2>&1)