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: "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5072/0.5072, allocations: 90.92 MB / 99.35 MB, free: 2.211 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.487/1.487, allocations: 221.5 MB / 343.2 MB, free: 1.574 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.00083/0.00083, allocations: 106.1 kB / 416 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.226e-05/2.228e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1457, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.216, allocations: 377.2 MB / 0.9219 GB, free: 103 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/1.216, allocations: 87.83 kB / 0.922 GB, free: 103 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.495/4.712, allocations: 0.9942 GB / 1.916 GB, free: 26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.884e-06/4.712, allocations: 0 / 1.916 GB, free: 26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0004255/4.712, allocations: 83.91 kB / 1.916 GB, free: 25.92 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.007119/4.719, allocations: 2.707 MB / 1.919 GB, free: 23.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/4.719, allocations: 12.03 kB / 1.919 GB, free: 23.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002262/4.722, allocations: 356 kB / 1.919 GB, free: 22.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008435/4.73, allocations: 3.099 MB / 1.922 GB, free: 19.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/4.73, allocations: 72 kB / 1.922 GB, free: 19.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008343/4.731, allocations: 147.9 kB / 1.923 GB, free: 19.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00517/4.736, allocations: 2.203 MB / 1.925 GB, free: 17.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006346/4.743, allocations: 2.659 MB / 1.927 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.778e-05/4.743, allocations: 0 / 1.927 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000425/4.743, allocations: 4 kB / 1.927 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-05/4.743, allocations: 79.88 kB / 1.927 GB, free: 14.34 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.01631/4.76, allocations: 12.58 MB / 1.94 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3881/5.148, allocations: 1.559 MB / 1.941 GB, free: 90.49 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002066/5.15, allocations: 1.09 MB / 1.942 GB, free: 90.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007002/5.151, allocations: 0.7123 MB / 1.943 GB, free: 89.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/5.151, allocations: 50.2 kB / 1.943 GB, free: 89.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001914/5.152, allocations: 201.6 kB / 1.943 GB, free: 89.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=126): time 4.629e-06/5.152, allocations: 0 / 1.943 GB, free: 89.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=126): time 0.00348/5.156, allocations: 1.636 MB / 1.945 GB, free: 89.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/5.156, allocations: 150 kB / 1.945 GB, free: 89.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003319/5.159, allocations: 1.756 MB / 1.947 GB, free: 89.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001613/5.16, allocations: 32.61 kB / 1.947 GB, free: 89.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001508/5.161, allocations: 1.258 MB / 1.948 GB, free: 88.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004949/5.162, allocations: 429.5 kB / 1.948 GB, free: 88.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.531e-05/5.162, allocations: 0 / 1.948 GB, free: 88.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001739/5.162, allocations: 372.8 kB / 1.949 GB, free: 88.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/5.163, allocations: 0.6631 MB / 1.949 GB, free: 88.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/5.164, allocations: 1.173 MB / 1.95 GB, free: 87.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/5.166, allocations: 0.9082 MB / 1.951 GB, free: 87.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/5.166, allocations: 4.844 kB / 1.951 GB, free: 87.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003873/5.17, allocations: 2.176 MB / 1.953 GB, free: 87.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.00111/5.171, allocations: 5.704 MB / 1.959 GB, free: 81.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/5.171, allocations: 13.22 kB / 1.959 GB, free: 81.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/5.173, allocations: 424.1 kB / 1.959 GB, free: 81.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/5.174, allocations: 355.4 kB / 1.96 GB, free: 81.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002981/5.177, allocations: 2.99 MB / 1.963 GB, free: 79.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/5.179, allocations: 198.6 kB / 1.963 GB, free: 79.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/5.18, allocations: 87.5 kB / 1.963 GB, free: 79.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/5.18, allocations: 5.438 kB / 1.963 GB, free: 79.75 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003186/5.183, allocations: 1.906 MB / 1.965 GB, free: 79.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/5.183, allocations: 13.95 kB / 1.965 GB, free: 79.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005457/5.183, allocations: 205.5 kB / 1.965 GB, free: 79.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/5.185, allocations: 385 kB / 1.965 GB, free: 79.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003404/5.188, allocations: 3.75 MB / 1.969 GB, free: 77.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/5.191, allocations: 186.2 kB / 1.969 GB, free: 77.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/5.191, allocations: 80.89 kB / 1.969 GB, free: 77.11 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.0005386/5.191, allocations: 152.4 kB / 1.97 GB, free: 77 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003224/5.195, allocations: 1.626 MB / 1.971 GB, free: 76.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003854/5.195, allocations: 209.1 kB / 1.971 GB, free: 76.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003755/5.199, allocations: 1.872 MB / 1.973 GB, free: 76.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/5.199, allocations: 17.59 kB / 1.973 GB, free: 76.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/5.199, allocations: 3.969 kB / 1.973 GB, free: 76.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002498/5.201, allocations: 1.5 MB / 1.975 GB, free: 76.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007102/5.208, allocations: 4.147 MB / 1.979 GB, free: 76.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/5.208, allocations: 3.25 kB / 1.979 GB, free: 76.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008521/5.209, allocations: 215.7 kB / 1.979 GB, free: 76.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001332/5.211, allocations: 399.4 kB / 1.979 GB, free: 76.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-05/5.211, allocations: 21.77 kB / 1.979 GB, free: 76.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002391/5.213, allocations: 2.925 MB / 1.982 GB, free: 74.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/5.213, allocations: 3 kB / 1.982 GB, free: 74.22 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003875/5.217, allocations: 2.869 MB / 1.985 GB, free: 73.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/5.218, allocations: 0.5186 MB / 1.985 GB, free: 73.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002762/5.219, allocations: 14.19 kB / 1.985 GB, free: 73.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/5.22, allocations: 159.7 kB / 1.986 GB, free: 73.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/5.22, allocations: 103.9 kB / 1.986 GB, free: 73.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/5.221, allocations: 57.92 kB / 1.986 GB, free: 73.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001828/5.222, allocations: 1.33 MB / 1.987 GB, free: 73.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/5.222, allocations: 0 / 1.987 GB, free: 73.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004558/5.227, allocations: 1.474 MB / 1.988 GB, free: 73.27 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.004675/5.232, allocations: 4.186 MB / 1.993 GB, free: 71.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004484/5.236, allocations: 3.099 MB / 1.996 GB, free: 71.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/5.236, allocations: 3.25 kB / 1.996 GB, free: 71.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/5.237, allocations: 0.9264 MB / 1.997 GB, free: 71.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005394/5.243, allocations: 1.061 MB / 1.998 GB, free: 71.47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008857/5.252, allocations: 4.964 MB / 2.002 GB, free: 70.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/5.253, allocations: 2.214 MB / 2.005 GB, free: 69.76 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003879/5.257, allocations: 1.402 MB / 2.006 GB, free: 69.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/5.258, allocations: 0.9938 MB / 2.007 GB, free: 69.73 MB / 0.6042 GB Notification: Performance of SimCode: time 1.042e-06/5.258, allocations: 0 / 2.007 GB, free: 69.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/5.366, allocations: 66.58 MB / 2.072 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/5.366, allocations: 192.5 kB / 2.072 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.054/9.42, allocations: 0 / 2.072 GB, free: 66.47 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)