Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",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.001657/0.001657, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9833/0.9833, allocations: 133.6 MB / 141.6 MB, free: 2.867 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 221.5 MB / 395.5 MB, free: 10.76 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 96.88 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.398e-05/2.408e-05, allocations: 4 kB / 0.5535 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5984/0.5984, allocations: 82.31 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/1.649, allocations: 377.8 MB / 1.003 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003844/1.649, allocations: 91.14 kB / 1.003 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.299/10.95, allocations: 2.1 GB / 3.103 GB, free: 83.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.375e-06/10.95, allocations: 0 / 3.103 GB, free: 83.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001422/10.95, allocations: 179.7 kB / 3.103 GB, free: 83.28 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: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.02014/10.97, allocations: 5.539 MB / 3.108 GB, free: 78.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/10.97, allocations: 8.031 kB / 3.108 GB, free: 78.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005157/10.98, allocations: 0.7805 MB / 3.109 GB, free: 77.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01661/10.99, allocations: 7.482 MB / 3.116 GB, free: 70.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002688/10.99, allocations: 176 kB / 3.117 GB, free: 70.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001904/10.99, allocations: 324 kB / 3.117 GB, free: 70.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0115/11.01, allocations: 5.5 MB / 3.122 GB, free: 64.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01358/11.02, allocations: 6.596 MB / 3.129 GB, free: 57.72 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001347/11.02, allocations: 27.78 kB / 3.129 GB, free: 57.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006281/11.02, allocations: 8 kB / 3.129 GB, free: 57.69 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001664/11.02, allocations: 226.4 kB / 3.129 GB, free: 57.46 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.04123/11.06, allocations: 28.6 MB / 3.157 GB, free: 27.81 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004011/11.07, allocations: 3.381 MB / 3.16 GB, free: 24.45 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002789/11.07, allocations: 2.643 MB / 3.163 GB, free: 21.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007448/11.07, allocations: 0.8302 MB / 3.164 GB, free: 20.81 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.705e-05/11.07, allocations: 76.06 kB / 3.164 GB, free: 20.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=267): time 4.899e-06/11.07, allocations: 0 / 3.164 GB, free: 20.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=267): time 0.006077/11.08, allocations: 3.534 MB / 3.167 GB, free: 17.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/11.08, allocations: 77.52 kB / 3.167 GB, free: 17.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006164/11.08, allocations: 3.981 MB / 3.171 GB, free: 13.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007127/11.08, allocations: 29.7 kB / 3.171 GB, free: 13.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001744/11.08, allocations: 2.846 MB / 3.174 GB, free: 10.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001299/11.09, allocations: 0.9008 MB / 3.175 GB, free: 9.227 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/11.09, allocations: 4 kB / 3.175 GB, free: 9.223 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001907/11.09, allocations: 457.9 kB / 3.175 GB, free: 8.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/11.09, allocations: 1.534 MB / 3.177 GB, free: 7.234 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0023/11.09, allocations: 2.771 MB / 3.179 GB, free: 3.898 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002858/11.09, allocations: 2.23 MB / 3.182 GB, free: 1.648 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.16e-05/11.09, allocations: 12 kB / 3.182 GB, free: 1.637 MB / 0.698 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.6022/11.69, allocations: 4.928 MB / 3.186 GB, free: 90.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-05/11.7, allocations: 22.56 kB / 3.186 GB, free: 90.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/11.7, allocations: 40.25 kB / 3.186 GB, free: 90.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/11.7, allocations: 415.6 kB / 3.187 GB, free: 90.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003712/11.7, allocations: 0.8614 MB / 3.188 GB, free: 90.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005624/11.71, allocations: 5.147 MB / 3.193 GB, free: 88.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00602/11.71, allocations: 0.5247 MB / 3.193 GB, free: 88.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007731/11.71, allocations: 183 kB / 3.193 GB, free: 88.45 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * 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: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000971/11.71, allocations: 223.9 kB / 3.194 GB, free: 88.34 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006625/11.72, allocations: 3.532 MB / 3.197 GB, free: 88.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001435/11.72, allocations: 432.9 kB / 3.197 GB, free: 87.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006721/11.73, allocations: 3.88 MB / 3.201 GB, free: 87.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.262e-05/11.73, allocations: 33.2 kB / 3.201 GB, free: 87.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/11.73, allocations: 4 kB / 3.201 GB, free: 87.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004982/11.73, allocations: 3.445 MB / 3.205 GB, free: 87.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02384/11.76, allocations: 9.359 MB / 3.214 GB, free: 86.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/11.76, allocations: 6.438 kB / 3.214 GB, free: 86.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002295/11.76, allocations: 0.4988 MB / 3.214 GB, free: 86.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007718/11.76, allocations: 360.2 kB / 3.215 GB, free: 86.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002064/11.76, allocations: 42.08 kB / 3.215 GB, free: 86.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004748/11.77, allocations: 5.088 MB / 3.22 GB, free: 83.81 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.729e-06/11.77, allocations: 8.438 kB / 3.22 GB, free: 83.81 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009228/11.77, allocations: 6.431 MB / 3.226 GB, free: 82.42 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003486/11.78, allocations: 1.129 MB / 3.227 GB, free: 82.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001062/11.78, allocations: 27.67 kB / 3.227 GB, free: 82.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00325/11.78, allocations: 248.3 kB / 3.227 GB, free: 82.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003303/11.78, allocations: 174.6 kB / 3.227 GB, free: 82.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002526/11.78, allocations: 131.2 kB / 3.228 GB, free: 82.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004956/11.79, allocations: 3.03 MB / 3.231 GB, free: 81.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/11.79, allocations: 4.625 kB / 3.231 GB, free: 81.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.008229/11.8, allocations: 1.847 MB / 3.232 GB, free: 81.76 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.01035/11.81, allocations: 8.539 MB / 3.241 GB, free: 78.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005824/11.81, allocations: 3.933 MB / 3.245 GB, free: 78.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/11.81, allocations: 3.625 kB / 3.245 GB, free: 78.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002382/11.82, allocations: 1.908 MB / 3.246 GB, free: 78.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01309/11.83, allocations: 2.372 MB / 3.249 GB, free: 78.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02548/11.85, allocations: 12.04 MB / 3.26 GB, free: 76.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004542/11.86, allocations: 4.415 MB / 3.265 GB, free: 75.46 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.006501/11.86, allocations: 1.705 MB / 3.266 GB, free: 75.42 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004211/11.87, allocations: 2.419 MB / 3.269 GB, free: 75.41 MB / 0.698 GB Notification: Performance of SimCode: time 1.042e-06/11.87, allocations: 0 / 3.269 GB, free: 75.41 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2267/12.1, allocations: 131.4 MB / 3.397 GB, free: 21.31 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/12.1, allocations: 179.5 kB / 3.397 GB, free: 21.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.48/18.58, allocations: 0 / 3.397 GB, free: 21.11 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)