Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 177.8 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4926/0.4926, allocations: 90.91 MB / 99.34 MB, free: 2.223 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 221.5 MB / 343.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008867/0.0008866, allocations: 99.38 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.235e-05/1.236e-05, allocations: 4 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1329, allocations: 72.32 MB / 0.5535 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.171, allocations: 377.2 MB / 0.9219 GB, free: 103.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/1.171, allocations: 87.33 kB / 0.9219 GB, free: 103.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.46/4.631, allocations: 0.9942 GB / 1.916 GB, free: 26.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/4.631, allocations: 0 / 1.916 GB, free: 26.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003286/4.632, allocations: 83.86 kB / 1.916 GB, free: 26.52 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.00678/4.638, allocations: 2.692 MB / 1.919 GB, free: 23.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/4.638, allocations: 12.03 kB / 1.919 GB, free: 23.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/4.64, allocations: 363.8 kB / 1.919 GB, free: 23.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005918/4.646, allocations: 3.099 MB / 1.922 GB, free: 20.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-05/4.646, allocations: 72 kB / 1.922 GB, free: 20.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003125/4.646, allocations: 143.9 kB / 1.922 GB, free: 20.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003635/4.65, allocations: 2.2 MB / 1.925 GB, free: 17.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003799/4.654, allocations: 2.663 MB / 1.927 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-05/4.654, allocations: 4 kB / 1.927 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001905/4.654, allocations: 4 kB / 1.927 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.303e-05/4.654, allocations: 67.94 kB / 1.927 GB, free: 14.96 MB / 0.6042 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.01433/4.668, allocations: 12.59 MB / 1.94 GB, free: 1.504 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4361/5.105, allocations: 1.559 MB / 1.941 GB, free: 90.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002377/5.107, allocations: 1.091 MB / 1.942 GB, free: 90.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007698/5.108, allocations: 0.7107 MB / 1.943 GB, free: 89.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.337e-05/5.108, allocations: 52.95 kB / 1.943 GB, free: 89.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002282/5.11, allocations: 199.6 kB / 1.943 GB, free: 89.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=126): time 4.699e-06/5.11, allocations: 1.031 kB / 1.943 GB, free: 89.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=126): time 0.00413/5.114, allocations: 1.633 MB / 1.945 GB, free: 89.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/5.114, allocations: 143.6 kB / 1.945 GB, free: 89.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003374/5.118, allocations: 1.768 MB / 1.947 GB, free: 89.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001684/5.118, allocations: 28.73 kB / 1.947 GB, free: 89.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001359/5.119, allocations: 1.252 MB / 1.948 GB, free: 88.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004892/5.12, allocations: 433.6 kB / 1.948 GB, free: 88.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.777e-05/5.12, allocations: 0.9375 kB / 1.948 GB, free: 88.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001425/5.12, allocations: 374.8 kB / 1.949 GB, free: 88.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/5.121, allocations: 0.6638 MB / 1.949 GB, free: 88.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/5.123, allocations: 1.172 MB / 1.95 GB, free: 87.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001796/5.124, allocations: 0.9128 MB / 1.951 GB, free: 87.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/5.124, allocations: 4.531 kB / 1.951 GB, free: 87.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004262/5.129, allocations: 2.173 MB / 1.953 GB, free: 87.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.00111/5.13, allocations: 5.698 MB / 1.959 GB, free: 81.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/5.13, allocations: 16.28 kB / 1.959 GB, free: 81.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/5.131, allocations: 429.5 kB / 1.959 GB, free: 81.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/5.133, allocations: 359.2 kB / 1.96 GB, free: 81.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/5.136, allocations: 2.986 MB / 1.963 GB, free: 79.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002598/5.138, allocations: 195.8 kB / 1.963 GB, free: 79.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/5.139, allocations: 83.98 kB / 1.963 GB, free: 79.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/5.139, allocations: 3.5 kB / 1.963 GB, free: 79.82 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003586/5.142, allocations: 1.907 MB / 1.965 GB, free: 79.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.994e-05/5.142, allocations: 15.88 kB / 1.965 GB, free: 79.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005633/5.143, allocations: 207.1 kB / 1.965 GB, free: 79.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/5.144, allocations: 381.6 kB / 1.965 GB, free: 79.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003323/5.148, allocations: 3.762 MB / 1.969 GB, free: 77.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002727/5.15, allocations: 179.3 kB / 1.969 GB, free: 77.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002178/5.151, allocations: 81.84 kB / 1.969 GB, free: 77.18 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,nor.y,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.000639/5.151, allocations: 157.9 kB / 1.969 GB, free: 77.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005667/5.152, allocations: 205 kB / 1.97 GB, free: 76.97 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004672/5.156, allocations: 1.867 MB / 1.971 GB, free: 76.85 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-05/5.156, allocations: 13.2 kB / 1.971 GB, free: 76.85 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/5.157, allocations: 2.375 kB / 1.971 GB, free: 76.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003098/5.16, allocations: 1.499 MB / 1.973 GB, free: 76.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009374/5.169, allocations: 4.158 MB / 1.977 GB, free: 76.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/5.169, allocations: 3.656 kB / 1.977 GB, free: 76.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008454/5.17, allocations: 212.8 kB / 1.977 GB, free: 76.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001364/5.171, allocations: 393.5 kB / 1.978 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.147e-05/5.171, allocations: 24.92 kB / 1.978 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002281/5.174, allocations: 2.929 MB / 1.98 GB, free: 74.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/5.174, allocations: 0 / 1.98 GB, free: 74.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004103/5.178, allocations: 2.871 MB / 1.983 GB, free: 74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/5.179, allocations: 0.5126 MB / 1.984 GB, free: 73.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002603/5.179, allocations: 16.83 kB / 1.984 GB, free: 73.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/5.181, allocations: 166.2 kB / 1.984 GB, free: 73.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/5.181, allocations: 103.7 kB / 1.984 GB, free: 73.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/5.181, allocations: 61.59 kB / 1.984 GB, free: 73.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001921/5.183, allocations: 1.33 MB / 1.985 GB, free: 73.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/5.183, allocations: 3.562 kB / 1.985 GB, free: 73.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004589/5.188, allocations: 1.453 MB / 1.987 GB, free: 73.53 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 5 (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) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,nor.y,onOffHea.y) * Number of discrete states: 3 (onOffMid.y,onOffBot.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001123/5.189, allocations: 0.5545 MB / 1.987 GB, free: 73.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00516/5.194, allocations: 3.109 MB / 1.99 GB, free: 73.06 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/5.194, allocations: 0 / 1.99 GB, free: 73.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/5.195, allocations: 0.9221 MB / 1.991 GB, free: 72.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005232/5.2, allocations: 1.074 MB / 1.992 GB, free: 72.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008692/5.209, allocations: 4.233 MB / 1.996 GB, free: 72.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001773/5.211, allocations: 2.214 MB / 1.999 GB, free: 71.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.004234/5.215, allocations: 1.405 MB / 2 GB, free: 71.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003754/5.216, allocations: 139.4 kB / 2 GB, free: 71.26 MB / 0.6042 GB Notification: Performance of SimCode: time 9.52e-07/5.216, allocations: 0 / 2 GB, free: 71.26 MB / 0.6042 GB Notification: Performance of Templates: time 0.06813/5.284, allocations: 45.34 MB / 2.044 GB, free: 69.21 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)