Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="IDEAS_dev_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.001816/0.001817, allocations: 174.6 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.8442/0.8442, 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.83/1.83, allocations: 221.3 MB / 400.4 MB, free: 5.812 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.001001/0.001001, allocations: 93.45 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.357e-05/4.359e-05, allocations: 2.25 kB / 0.5601 GB, free: 87.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1962, allocations: 82.32 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.584/1.78, allocations: 387.5 MB / 1.019 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/1.78, allocations: 96.03 kB / 1.019 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.76/5.54, allocations: 0.9897 GB / 2.009 GB, free: 12.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.305e-06/5.54, allocations: 4 kB / 2.009 GB, free: 12.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0006303/5.541, allocations: 83.86 kB / 2.009 GB, free: 12.12 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.01048/5.551, allocations: 2.703 MB / 2.011 GB, free: 9.359 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/5.551, allocations: 8.031 kB / 2.012 GB, free: 9.352 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001605/5.553, allocations: 336.9 kB / 2.012 GB, free: 9.012 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002525/5.556, allocations: 360.6 kB / 2.012 GB, free: 8.656 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009447/5.565, allocations: 3.099 MB / 2.015 GB, free: 5.504 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/5.565, allocations: 184.6 kB / 2.015 GB, free: 5.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001006/5.566, allocations: 247.9 kB / 2.016 GB, free: 5.078 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008689/5.575, allocations: 2.981 MB / 2.019 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.802e-05/5.575, allocations: 7.938 kB / 2.019 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006035/5.576, allocations: 99.98 kB / 2.019 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.341e-05/5.576, allocations: 71.98 kB / 2.019 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5801/6.156, allocations: 2.33 MB / 2.021 GB, free: 117.2 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.02081/6.177, allocations: 12.98 MB / 2.034 GB, free: 111.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00281/6.18, allocations: 1.621 MB / 2.035 GB, free: 111 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001812/6.182, allocations: 1.118 MB / 2.036 GB, free: 111 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007396/6.182, allocations: 0.7119 MB / 2.037 GB, free: 110.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/6.182, allocations: 48.59 kB / 2.037 GB, free: 110.2 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002088/6.185, allocations: 232 kB / 2.037 GB, free: 110.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 5.19e-06/6.185, allocations: 0 / 2.037 GB, free: 110.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=126): time 0.003519/6.188, allocations: 1.693 MB / 2.039 GB, free: 110 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/6.188, allocations: 149.9 kB / 2.039 GB, free: 109.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00368/6.192, allocations: 1.888 MB / 2.041 GB, free: 109.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002444/6.192, allocations: 62.06 kB / 2.041 GB, free: 109.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001399/6.193, allocations: 1.271 MB / 2.042 GB, free: 109.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004804/6.194, allocations: 444.9 kB / 2.043 GB, free: 108.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-05/6.194, allocations: 32.97 kB / 2.043 GB, free: 108.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001311/6.194, allocations: 371.8 kB / 2.043 GB, free: 108.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/6.195, allocations: 0.6895 MB / 2.044 GB, free: 108.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/6.197, allocations: 1.215 MB / 2.045 GB, free: 108 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/6.198, allocations: 0.9255 MB / 2.046 GB, free: 108 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/6.198, allocations: 4.344 kB / 2.046 GB, free: 108 MB / 0.698 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004457/6.202, allocations: 2.326 MB / 2.048 GB, free: 107.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001203/6.204, allocations: 5.718 MB / 2.054 GB, free: 101.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/6.204, allocations: 13.59 kB / 2.054 GB, free: 101.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001963/6.206, allocations: 468.8 kB / 2.054 GB, free: 101.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/6.207, allocations: 354.6 kB / 2.054 GB, free: 101.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003292/6.21, allocations: 3.109 MB / 2.057 GB, free: 99.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002981/6.213, allocations: 228.8 kB / 2.058 GB, free: 99.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002075/6.213, allocations: 83.28 kB / 2.058 GB, free: 99.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/6.214, allocations: 8.234 kB / 2.058 GB, free: 99.95 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004502/6.218, allocations: 2.103 MB / 2.06 GB, free: 99.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.302e-05/6.218, allocations: 15.78 kB / 2.06 GB, free: 99.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007209/6.219, allocations: 242.3 kB / 2.06 GB, free: 99.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/6.22, allocations: 373.4 kB / 2.06 GB, free: 99.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004588/6.225, allocations: 4.148 MB / 2.064 GB, free: 97.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003084/6.228, allocations: 219.7 kB / 2.065 GB, free: 97.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002654/6.228, allocations: 86.64 kB / 2.065 GB, free: 97.18 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.0007489/6.229, allocations: 212.1 kB / 2.065 GB, free: 97.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005871/6.23, allocations: 213.6 kB / 2.065 GB, free: 96.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003942/6.234, allocations: 1.982 MB / 2.067 GB, free: 96.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/6.234, allocations: 21 kB / 2.067 GB, free: 96.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/6.234, allocations: 1.031 kB / 2.067 GB, free: 96.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0021/6.236, allocations: 1.581 MB / 2.069 GB, free: 96.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008968/6.245, allocations: 4.604 MB / 2.073 GB, free: 96.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/6.245, allocations: 0 / 2.073 GB, free: 96.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008965/6.246, allocations: 213.4 kB / 2.073 GB, free: 96.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001641/6.247, allocations: 437.4 kB / 2.074 GB, free: 96.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.57e-05/6.247, allocations: 37.77 kB / 2.074 GB, free: 96.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002528/6.25, allocations: 2.992 MB / 2.077 GB, free: 94.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/6.25, allocations: 7.312 kB / 2.077 GB, free: 94.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004195/6.254, allocations: 2.946 MB / 2.08 GB, free: 93.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001688/6.256, allocations: 0.5162 MB / 2.08 GB, free: 93.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/6.256, allocations: 39.7 kB / 2.08 GB, free: 93.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/6.258, allocations: 184.2 kB / 2.08 GB, free: 93.78 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002288/6.258, allocations: 111 kB / 2.08 GB, free: 93.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/6.258, allocations: 48.88 kB / 2.081 GB, free: 93.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002357/6.26, allocations: 1.463 MB / 2.082 GB, free: 93.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.01e-07/6.26, allocations: 0 / 2.082 GB, free: 93.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00524/6.266, allocations: 1.52 MB / 2.083 GB, free: 93.5 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.00549/6.271, allocations: 4.137 MB / 2.087 GB, free: 92.38 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005451/6.277, allocations: 3.317 MB / 2.091 GB, free: 91.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/6.277, allocations: 0 / 2.091 GB, free: 91.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001257/6.278, allocations: 0.9639 MB / 2.092 GB, free: 91.85 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006048/6.284, allocations: 1.129 MB / 2.093 GB, free: 91.84 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/6.294, allocations: 5.103 MB / 2.098 GB, free: 90.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/6.296, allocations: 2.217 MB / 2.1 GB, free: 90.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004276/6.3, allocations: 1.411 MB / 2.101 GB, free: 90.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/6.301, allocations: 1.001 MB / 2.102 GB, free: 90.11 MB / 0.698 GB Notification: Performance of SimCode: time 1.282e-06/6.301, allocations: 0 / 2.102 GB, free: 90.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1296/6.431, allocations: 73.66 MB / 2.174 GB, free: 86.93 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/6.431, allocations: 239.1 kB / 2.174 GB, free: 86.62 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.534/10.97, allocations: 0 / 2.174 GB, free: 86.62 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)