Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="IDEAS_IDEAS_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.001961/0.001961, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8664/0.8664, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.762/1.762, allocations: 221.3 MB / 400.4 MB, free: 5.848 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009779/0.0009781, allocations: 91.52 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.077e-05/4.078e-05, allocations: 3.094 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1953, allocations: 82.31 MB / 0.6405 GB, free: 7.766 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.518/1.714, allocations: 387.5 MB / 1.019 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/1.714, allocations: 90.27 kB / 1.019 GB, free: 234.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.834/5.548, allocations: 0.9898 GB / 2.009 GB, free: 42.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.885e-06/5.548, allocations: 0 / 2.009 GB, free: 42.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005775/5.548, allocations: 87.84 kB / 2.009 GB, free: 42.09 MB / 0.698 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.009359/5.558, allocations: 2.699 MB / 2.011 GB, free: 39.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/5.558, allocations: 12.03 kB / 2.012 GB, free: 39.32 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001479/5.559, allocations: 332.9 kB / 2.012 GB, free: 38.99 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002373/5.562, allocations: 365.3 kB / 2.012 GB, free: 38.63 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008946/5.57, allocations: 3.099 MB / 2.015 GB, free: 35.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002112/5.571, allocations: 176.6 kB / 2.015 GB, free: 35.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001043/5.572, allocations: 243.9 kB / 2.016 GB, free: 35.06 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008846/5.581, allocations: 2.985 MB / 2.019 GB, free: 31.94 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/5.581, allocations: 11.92 kB / 2.019 GB, free: 31.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007632/5.582, allocations: 104 kB / 2.019 GB, free: 31.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/5.582, allocations: 63.98 kB / 2.019 GB, free: 31.76 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005456/5.587, allocations: 2.336 MB / 2.021 GB, free: 29.41 MB / 0.698 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.0204/5.608, allocations: 12.99 MB / 2.034 GB, free: 15.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/5.61, allocations: 1.616 MB / 2.035 GB, free: 13.89 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/5.612, allocations: 1.126 MB / 2.036 GB, free: 12.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007449/5.612, allocations: 0.7126 MB / 2.037 GB, free: 11.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/5.613, allocations: 47.56 kB / 2.037 GB, free: 11.84 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002267/5.615, allocations: 231.1 kB / 2.037 GB, free: 11.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 1.302e-05/5.615, allocations: 0 / 2.037 GB, free: 11.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=126): time 0.003536/5.618, allocations: 1.691 MB / 2.039 GB, free: 9.906 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/5.619, allocations: 149.5 kB / 2.039 GB, free: 9.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004337/5.623, allocations: 1.889 MB / 2.041 GB, free: 7.801 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002883/5.623, allocations: 53.7 kB / 2.041 GB, free: 7.742 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00155/5.625, allocations: 1.266 MB / 2.042 GB, free: 6.461 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005502/5.625, allocations: 441.7 kB / 2.043 GB, free: 6.023 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/5.625, allocations: 36 kB / 2.043 GB, free: 5.988 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001542/5.626, allocations: 373.9 kB / 2.043 GB, free: 5.617 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/5.627, allocations: 0.6911 MB / 2.044 GB, free: 4.926 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/5.628, allocations: 1.218 MB / 2.045 GB, free: 3.484 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/5.63, allocations: 0.932 MB / 2.046 GB, free: 2.551 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.16e-05/5.63, allocations: 4 kB / 2.046 GB, free: 2.547 MB / 0.698 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004522/5.634, allocations: 2.324 MB / 2.048 GB, free: 212 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.5955/6.23, allocations: 5.708 MB / 2.054 GB, free: 112.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.489e-05/6.23, allocations: 13.69 kB / 2.054 GB, free: 112.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003051/6.233, allocations: 477.9 kB / 2.054 GB, free: 112.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/6.235, allocations: 353.6 kB / 2.054 GB, free: 112.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004145/6.239, allocations: 3.1 MB / 2.057 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003448/6.243, allocations: 223.4 kB / 2.058 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002804/6.243, allocations: 87.12 kB / 2.058 GB, free: 110.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/6.243, allocations: 4.781 kB / 2.058 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004553/6.248, allocations: 2.107 MB / 2.06 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.49e-05/6.248, allocations: 17.09 kB / 2.06 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006824/6.248, allocations: 234.8 kB / 2.06 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/6.25, allocations: 377.7 kB / 2.06 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004232/6.254, allocations: 4.152 MB / 2.064 GB, free: 107.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00275/6.257, allocations: 223.2 kB / 2.065 GB, free: 107.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002097/6.257, allocations: 78.56 kB / 2.065 GB, free: 107.8 MB / 0.698 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 (179): * Single equations (assignments): 177 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.000632/6.258, allocations: 206.3 kB / 2.065 GB, free: 107.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005548/6.258, allocations: 213.2 kB / 2.065 GB, free: 107.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004292/6.263, allocations: 1.987 MB / 2.067 GB, free: 107.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.937e-05/6.263, allocations: 14.36 kB / 2.067 GB, free: 107.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/6.263, allocations: 3.406 kB / 2.067 GB, free: 107.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003277/6.266, allocations: 1.583 MB / 2.069 GB, free: 107.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/6.277, allocations: 4.611 MB / 2.073 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/6.278, allocations: 3.375 kB / 2.073 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000924/6.278, allocations: 213.3 kB / 2.073 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001649/6.28, allocations: 433.3 kB / 2.074 GB, free: 107 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/6.28, allocations: 35.72 kB / 2.074 GB, free: 107 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00262/6.283, allocations: 3.005 MB / 2.077 GB, free: 105.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/6.283, allocations: 4.875 kB / 2.077 GB, free: 105.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004833/6.288, allocations: 2.926 MB / 2.08 GB, free: 104.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001823/6.29, allocations: 0.5266 MB / 2.08 GB, free: 104.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003899/6.29, allocations: 26.66 kB / 2.08 GB, free: 104.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/6.292, allocations: 189.8 kB / 2.08 GB, free: 104.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002628/6.292, allocations: 110.3 kB / 2.08 GB, free: 104.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/6.292, allocations: 56.88 kB / 2.081 GB, free: 104.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002719/6.295, allocations: 1.454 MB / 2.082 GB, free: 104.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/6.295, allocations: 1.062 kB / 2.082 GB, free: 104.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006267/6.301, allocations: 1.524 MB / 2.083 GB, free: 104.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (onOffBot.y,onOffMid.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.006639/6.308, allocations: 4.145 MB / 2.087 GB, free: 103.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006464/6.314, allocations: 3.318 MB / 2.091 GB, free: 102.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/6.314, allocations: 5.969 kB / 2.091 GB, free: 102.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001571/6.316, allocations: 0.9605 MB / 2.092 GB, free: 102.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007261/6.323, allocations: 1.126 MB / 2.093 GB, free: 102.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.016/6.339, allocations: 5.099 MB / 2.098 GB, free: 101.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002921/6.342, allocations: 2.225 MB / 2.1 GB, free: 100.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005959/6.348, allocations: 1.408 MB / 2.101 GB, free: 100.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002167/6.35, allocations: 0.993 MB / 2.102 GB, free: 100.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.633e-06/6.35, allocations: 3.188 kB / 2.102 GB, free: 100.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.155/6.505, allocations: 73.66 MB / 2.174 GB, free: 97.78 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000304/6.506, allocations: 227.2 kB / 2.174 GB, free: 97.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.683/11.19, allocations: 4 kB / 2.174 GB, free: 97.5 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)