Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.51/1.51, allocations: 289.9 MB / 297.4 MB, free: 6.406 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009411/0.0009412, allocations: 188.8 kB / 366.7 MB, free: 1.668 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.3 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008067/0.0008066, allocations: 82.16 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.314e-05/1.316e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5516/0.5517, allocations: 116.3 MB / 0.9732 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8533/1.405, allocations: 407.6 MB / 1.371 GB, free: 149 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/1.405, allocations: 89.95 kB / 1.371 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.637/9.042, allocations: 2.172 GB / 3.543 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.753e-06/9.042, allocations: 0 / 3.543 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0008764/9.043, allocations: 188.8 kB / 3.543 GB, free: 139.7 MB / 0.9636 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.01702/9.06, allocations: 6.109 MB / 3.549 GB, free: 137.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/9.06, allocations: 7.75 kB / 3.549 GB, free: 137.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004323/9.065, allocations: 0.8411 MB / 3.55 GB, free: 137.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01547/9.08, allocations: 7.703 MB / 3.557 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000296/9.08, allocations: 194.9 kB / 3.558 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001887/9.082, allocations: 355.3 kB / 3.558 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01221/9.095, allocations: 6.32 MB / 3.564 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0159/9.11, allocations: 7.438 MB / 3.571 GB, free: 135.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001639/9.111, allocations: 25.12 kB / 3.571 GB, free: 135.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007625/9.111, allocations: 11.19 kB / 3.571 GB, free: 135.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001551/9.112, allocations: 184.1 kB / 3.572 GB, free: 135.5 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.03843/9.15, allocations: 33.03 MB / 3.604 GB, free: 120.9 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004438/9.155, allocations: 4.016 MB / 3.608 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003188/9.158, allocations: 3.093 MB / 3.611 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009357/9.159, allocations: 0.9594 MB / 3.612 GB, free: 119.8 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00267/9.161, allocations: 2.18 MB / 3.614 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00277/9.164, allocations: 354.4 kB / 3.614 GB, free: 119.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=317): time 6.812e-06/9.164, allocations: 2.969 kB / 3.614 GB, free: 119.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=317): time 0.006728/9.171, allocations: 4.522 MB / 3.619 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/9.171, allocations: 89.12 kB / 3.619 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006167/9.177, allocations: 4.251 MB / 3.623 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005036/9.178, allocations: 29.02 kB / 3.623 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.00259/9.18, allocations: 3.144 MB / 3.626 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001121/9.181, allocations: 1.08 MB / 3.627 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/9.182, allocations: 0 / 3.627 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001985/9.182, allocations: 493.4 kB / 3.627 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00232/9.184, allocations: 1.965 MB / 3.629 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003047/9.187, allocations: 3.467 MB / 3.633 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00387/9.191, allocations: 2.948 MB / 3.636 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.368e-05/9.191, allocations: 16.78 kB / 3.636 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009146/9.2, allocations: 6.218 MB / 3.642 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.656e-05/9.2, allocations: 55.39 kB / 3.642 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.882e-05/9.2, allocations: 49.53 kB / 3.642 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007862/9.201, allocations: 432.4 kB / 3.642 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003356/9.205, allocations: 1.032 MB / 3.643 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004294/9.209, allocations: 5.137 MB / 3.648 GB, free: 108 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00518/9.214, allocations: 389.8 kB / 3.649 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005119/9.215, allocations: 221.1 kB / 3.649 GB, free: 107.9 MB / 0.9636 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 () * 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.0008535/9.215, allocations: 253.4 kB / 3.649 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009882/9.216, allocations: 469.5 kB / 3.649 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00777/9.224, allocations: 5.003 MB / 3.654 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/9.224, allocations: 33.88 kB / 3.654 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/9.224, allocations: 7.859 kB / 3.654 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005348/9.23, allocations: 4.418 MB / 3.659 GB, free: 104 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.02066/9.25, allocations: 11.11 MB / 3.67 GB, free: 99.85 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/9.25, allocations: 0 / 3.67 GB, free: 99.85 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002537/9.253, allocations: 0.6254 MB / 3.67 GB, free: 99.83 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006912/9.254, allocations: 357.2 kB / 3.671 GB, free: 99.74 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002201/9.254, allocations: 44.7 kB / 3.671 GB, free: 99.73 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004068/9.258, allocations: 5.049 MB / 3.676 GB, free: 96.11 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/9.258, allocations: 7.625 kB / 3.676 GB, free: 96.11 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009132/9.267, allocations: 7.428 MB / 3.683 GB, free: 93.06 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003259/9.27, allocations: 1.191 MB / 3.684 GB, free: 92.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009737/9.271, allocations: 18.42 kB / 3.684 GB, free: 92.42 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003373/9.275, allocations: 355.2 kB / 3.684 GB, free: 92.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003372/9.275, allocations: 202.2 kB / 3.684 GB, free: 92.37 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002637/9.275, allocations: 137.2 kB / 3.685 GB, free: 92.35 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.004664/9.28, allocations: 3.221 MB / 3.688 GB, free: 91.13 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.6e-07/9.28, allocations: 0 / 3.688 GB, free: 91.13 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007332/9.287, allocations: 2.015 MB / 3.69 GB, free: 90.76 MB / 0.9636 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) * 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.001399/9.289, allocations: 0.7938 MB / 3.69 GB, free: 90.54 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005816/9.295, allocations: 4.957 MB / 3.695 GB, free: 88.61 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/9.295, allocations: 3.562 kB / 3.695 GB, free: 88.61 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002346/9.297, allocations: 2.332 MB / 3.698 GB, free: 87.62 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0108/9.308, allocations: 2.494 MB / 3.7 GB, free: 87.23 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0173/9.325, allocations: 11.24 MB / 3.711 GB, free: 79.76 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004837/9.33, allocations: 4.723 MB / 3.716 GB, free: 76.21 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.006644/9.337, allocations: 1.896 MB / 3.717 GB, free: 74.91 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/9.338, allocations: 435.3 kB / 3.718 GB, free: 74.53 MB / 0.9636 GB Notification: Performance of SimCode: time 1.963e-06/9.338, allocations: 0 / 3.718 GB, free: 74.53 MB / 0.9636 GB Notification: Performance of Templates: time 0.1335/9.472, allocations: 93.3 MB / 3.809 GB, free: 6.898 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)