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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00716/0.00716, allocations: 100.8 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 195.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8466/0.8466, allocations: 135.5 MB / 426.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 65.52 kB / 0.5857 GB, free: 21.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1324, allocations: 81.02 MB / 0.6649 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05238/0.1848, allocations: 49.28 MB / 0.713 GB, free: 4.148 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0189/0.2038, allocations: 13.8 MB / 0.7265 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.2054, allocations: 67.62 kB / 0.7265 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.2072, allocations: 0.7993 MB / 0.7273 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004936/0.2122, allocations: 2.254 MB / 0.7295 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002827/0.215, allocations: 1.31 MB / 0.7308 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3059/0.5209, allocations: 19.55 MB / 0.7499 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01167/0.5326, allocations: 9.941 MB / 0.7596 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01149/0.5442, allocations: 6.527 MB / 0.766 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009037/0.5532, allocations: 5.771 MB / 0.7716 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001768/0.555, allocations: 0.8444 MB / 0.7724 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00461/0.5596, allocations: 1.604 MB / 0.774 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001791/0.5614, allocations: 2.123 MB / 0.7761 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005453/0.5669, allocations: 4.288 MB / 0.7802 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009475/0.5764, allocations: 12.11 MB / 0.7921 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5764, allocations: 4 kB / 0.7921 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5764, allocations: 0 / 0.7921 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002176/0.5766, allocations: 0 / 0.7921 GB, free: 0.5039 MB / 0.5762 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.01427/0.5909, allocations: 7.925 MB / 0.7998 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.591, allocations: 14.08 kB / 0.7998 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001194/0.5922, allocations: 0.7667 MB / 0.8006 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002574/0.5947, allocations: 0.8173 MB / 0.8014 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01128/0.606, allocations: 6.349 MB / 0.8076 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003147/0.6064, allocations: 413.6 kB / 0.808 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001585/0.608, allocations: 0.5473 MB / 0.8085 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01404/0.622, allocations: 8.064 MB / 0.8164 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001287/0.6222, allocations: 22.03 kB / 0.8164 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007204/0.6229, allocations: 239.7 kB / 0.8166 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001748/0.6231, allocations: 158.9 kB / 0.8168 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01374/0.6368, allocations: 6.526 MB / 0.8232 GB, free: 11.51 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04738/0.6843, allocations: 31.26 MB / 0.8537 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005824/0.6901, allocations: 3.645 MB / 0.8572 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004317/0.6945, allocations: 2.799 MB / 0.86 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/0.6956, allocations: 0.8289 MB / 0.8608 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.988e-05/0.6957, allocations: 72.67 kB / 0.8609 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=267): time 4.438e-06/0.6957, allocations: 0 / 0.8609 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267): time 0.01156/0.7073, allocations: 5.79 MB / 0.8665 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/0.7074, allocations: 85.06 kB / 0.8666 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008329/0.7157, allocations: 5.232 MB / 0.8717 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0005258/0.7162, allocations: 77.7 kB / 0.8718 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00278/0.719, allocations: 2.936 MB / 0.8746 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001302/0.7203, allocations: 0.9816 MB / 0.8756 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/0.7215, allocations: 0.7195 MB / 0.8763 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.7216, allocations: 309.1 kB / 0.8766 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002762/0.7244, allocations: 1.674 MB / 0.8782 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003785/0.7282, allocations: 2.929 MB / 0.8811 GB, free: 14.17 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006821/0.735, allocations: 4.967 MB / 0.8859 GB, free: 8.777 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.047e-05/0.735, allocations: 15.47 kB / 0.886 GB, free: 8.766 MB / 0.67 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009489/0.7445, allocations: 5.462 MB / 0.8913 GB, free: 3.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.7446, allocations: 20 kB / 0.8913 GB, free: 3.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.777e-05/0.7447, allocations: 40 kB / 0.8913 GB, free: 3.441 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.7458, allocations: 424.4 kB / 0.8917 GB, free: 3.023 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003059/0.7489, allocations: 0.8617 MB / 0.8926 GB, free: 2.219 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006469/0.7554, allocations: 5.699 MB / 0.8982 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004591/0.76, allocations: 0.5354 MB / 0.8987 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00033/0.7603, allocations: 175.7 kB / 0.8988 GB, free: 11.59 MB / 0.6856 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004051/0.7644, allocations: 2.293 MB / 0.9011 GB, free: 9.344 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/0.7656, allocations: 0.5007 MB / 0.9016 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007242/0.7729, allocations: 4.18 MB / 0.9057 GB, free: 4.613 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.122e-05/0.7729, allocations: 27.98 kB / 0.9057 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.7729, allocations: 8 kB / 0.9057 GB, free: 4.578 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005477/0.7784, allocations: 3.63 MB / 0.9092 GB, free: 0.8477 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01841/0.7969, allocations: 10.27 MB / 0.9193 GB, free: 6.512 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.7969, allocations: 4.562 kB / 0.9193 GB, free: 6.508 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002311/0.7992, allocations: 0.4993 MB / 0.9198 GB, free: 6.031 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009241/0.8002, allocations: 381.3 kB / 0.9201 GB, free: 5.652 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002321/0.8004, allocations: 75.91 kB / 0.9202 GB, free: 5.578 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006348/0.8068, allocations: 5.648 MB / 0.9257 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.8068, allocations: 10.56 kB / 0.9257 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009285/0.8161, allocations: 6.271 MB / 0.9318 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002053/0.8181, allocations: 1.122 MB / 0.9329 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005853/0.8187, allocations: 67.98 kB / 0.933 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002308/0.821, allocations: 170.3 kB / 0.9332 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/0.8214, allocations: 177.2 kB / 0.9333 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002409/0.8216, allocations: 127.9 kB / 0.9335 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00515/0.8268, allocations: 3.846 MB / 0.9372 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.8268, allocations: 0 / 0.9372 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004013/0.8308, allocations: 1.813 MB / 0.939 GB, free: 1.953 MB / 0.7169 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009514/0.8403, allocations: 7.221 MB / 0.946 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00595/0.8463, allocations: 4.281 MB / 0.9502 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.8463, allocations: 4.125 kB / 0.9502 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002657/0.849, allocations: 2.037 MB / 0.9522 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01212/0.8611, allocations: 3.449 MB / 0.9556 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06051/0.9216, allocations: 47.15 MB / 1.002 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00408/0.9257, allocations: 4.303 MB / 1.006 GB, free: 12.22 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.004715/0.9305, allocations: 1.86 MB / 1.008 GB, free: 10.36 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003312/0.9338, allocations: 2.436 MB / 1.01 GB, free: 7.926 MB / 0.795 GB Notification: Performance of SimCode: time 5.61e-07/0.9338, allocations: 8 kB / 1.01 GB, free: 7.918 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.182/2.115, allocations: 154.1 MB / 1.161 GB, free: 210.7 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.79/21.91, allocations: 6.031 kB / 1.161 GB, free: 210.6 MB / 0.8419 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/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)