Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_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.01075/0.01075, allocations: 100.9 kB / 15.73 MB, free: 6.027 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.002137/0.002137, allocations: 193.1 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.438/2.438, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.312/1.312, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 66.06 kB / 0.5808 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3093, allocations: 80.21 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.1085/0.4179, allocations: 49.29 MB / 0.7073 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03901/0.457, allocations: 13.8 MB / 0.7208 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006711/0.4638, allocations: 67.62 kB / 0.7209 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005986/0.4699, allocations: 0.7992 MB / 0.7216 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01752/0.4875, allocations: 2.254 MB / 0.7238 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00872/0.4963, allocations: 1.304 MB / 0.7251 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.04127/0.5376, allocations: 19.56 MB / 0.7442 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02178/0.5595, allocations: 9.93 MB / 0.7539 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02249/0.5821, allocations: 6.601 MB / 0.7604 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01661/0.5988, allocations: 5.766 MB / 0.766 GB, free: 224 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00616/0.6051, allocations: 0.8438 MB / 0.7668 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01439/0.6195, allocations: 1.596 MB / 0.7684 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.01096/0.6306, allocations: 2.123 MB / 0.7704 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.02192/0.6526, allocations: 4.291 MB / 0.7746 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03404/0.6867, allocations: 12.08 MB / 0.7864 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.681e-05/0.6869, allocations: 0 / 0.7864 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.006e-06/0.6869, allocations: 0 / 0.7864 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0006381/0.6875, allocations: 0 / 0.7864 GB, free: 11.22 MB / 0.6231 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.04872/0.7363, allocations: 7.741 MB / 0.794 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 9.052e-05/0.7364, allocations: 8.031 kB / 0.794 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006786/0.7432, allocations: 0.7603 MB / 0.7947 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.7538, allocations: 0.7852 MB / 0.7955 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02797/0.7818, allocations: 6.318 MB / 0.8017 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00116/0.783, allocations: 411.1 kB / 0.8021 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004458/0.7875, allocations: 0.539 MB / 0.8026 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03665/0.8242, allocations: 8.065 MB / 0.8105 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004868/0.8248, allocations: 11.94 kB / 0.8105 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004287/0.8291, allocations: 236 kB / 0.8107 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004603/0.8296, allocations: 167.9 kB / 0.8109 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.9192/1.749, allocations: 6.522 MB / 0.8172 GB, free: 137.3 MB / 0.6387 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.08296/1.832, allocations: 31.2 MB / 0.8477 GB, free: 114.5 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/1.843, allocations: 3.644 MB / 0.8513 GB, free: 112.6 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006511/1.849, allocations: 2.788 MB / 0.854 GB, free: 111.3 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001352/1.851, allocations: 0.8288 MB / 0.8548 GB, free: 110.4 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/1.851, allocations: 86.56 kB / 0.8549 GB, free: 110.3 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=267): time 9.538e-06/1.851, allocations: 0 / 0.8549 GB, free: 110.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267): time 0.01788/1.869, allocations: 5.765 MB / 0.8605 GB, free: 104.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/1.869, allocations: 81.45 kB / 0.8606 GB, free: 104.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01419/1.883, allocations: 5.227 MB / 0.8657 GB, free: 99.51 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001081/1.884, allocations: 77.7 kB / 0.8658 GB, free: 99.43 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.003439/1.888, allocations: 2.871 MB / 0.8686 GB, free: 96.54 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002184/1.89, allocations: 0.9386 MB / 0.8695 GB, free: 95.61 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001695/1.892, allocations: 0.713 MB / 0.8702 GB, free: 94.89 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.028e-05/1.892, allocations: 306.4 kB / 0.8705 GB, free: 94.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003032/1.895, allocations: 1.674 MB / 0.8721 GB, free: 92.92 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0046/1.899, allocations: 2.931 MB / 0.875 GB, free: 89.47 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/1.91, allocations: 4.964 MB / 0.8798 GB, free: 83.92 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.551e-05/1.91, allocations: 12 kB / 0.8798 GB, free: 83.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01744/1.927, allocations: 5.445 MB / 0.8851 GB, free: 78.41 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.655e-05/1.927, allocations: 20 kB / 0.8852 GB, free: 78.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.38e-05/1.928, allocations: 40.88 kB / 0.8852 GB, free: 78.35 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001825/1.929, allocations: 417.4 kB / 0.8856 GB, free: 77.94 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006643/1.936, allocations: 0.858 MB / 0.8864 GB, free: 77.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00911/1.945, allocations: 5.711 MB / 0.892 GB, free: 71.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0102/1.955, allocations: 0.5144 MB / 0.8925 GB, free: 70.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001382/1.957, allocations: 183.9 kB / 0.8927 GB, free: 70.41 MB / 0.6387 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.01147/1.968, allocations: 2.281 MB / 0.8949 GB, free: 68.12 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005011/1.973, allocations: 490.1 kB / 0.8954 GB, free: 67.63 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01671/1.99, allocations: 4.18 MB / 0.8995 GB, free: 63.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.051e-05/1.99, allocations: 24 kB / 0.8995 GB, free: 63.38 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.594e-05/1.99, allocations: 4 kB / 0.8995 GB, free: 63.38 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009578/2, allocations: 3.638 MB / 0.9031 GB, free: 59.62 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03601/2.036, allocations: 10.27 MB / 0.9131 GB, free: 49.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.073e-05/2.036, allocations: 4 kB / 0.9131 GB, free: 49.24 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004271/2.041, allocations: 0.4993 MB / 0.9136 GB, free: 48.74 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001629/2.042, allocations: 376.8 kB / 0.9139 GB, free: 48.37 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006203/2.043, allocations: 75.95 kB / 0.914 GB, free: 48.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009646/2.052, allocations: 5.645 MB / 0.9195 GB, free: 42.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.106e-05/2.053, allocations: 7.938 kB / 0.9195 GB, free: 42.38 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02121/2.074, allocations: 6.25 MB / 0.9256 GB, free: 35.95 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006883/2.081, allocations: 1.092 MB / 0.9267 GB, free: 34.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003537/2.084, allocations: 63.98 kB / 0.9268 GB, free: 34.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007852/2.092, allocations: 181 kB / 0.9269 GB, free: 34.59 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001104/2.093, allocations: 173.6 kB / 0.9271 GB, free: 34.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001119/2.095, allocations: 123.9 kB / 0.9272 GB, free: 34.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.01465/2.109, allocations: 3.843 MB / 0.931 GB, free: 30.48 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.833e-06/2.109, allocations: 0 / 0.931 GB, free: 30.48 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01392/2.123, allocations: 1.799 MB / 0.9327 GB, free: 28.69 MB / 0.6387 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.02247/2.146, allocations: 7.18 MB / 0.9397 GB, free: 21.38 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01115/2.157, allocations: 4.277 MB / 0.9439 GB, free: 17.07 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.292e-05/2.157, allocations: 4 kB / 0.9439 GB, free: 17.06 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005577/2.163, allocations: 2.052 MB / 0.9459 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03379/2.197, allocations: 3.461 MB / 0.9493 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1942/2.391, allocations: 46.91 MB / 0.9951 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01254/2.404, allocations: 4.315 MB / 0.9993 GB, free: 6.871 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.01004/2.414, allocations: 1.85 MB / 1.001 GB, free: 5.039 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01155/2.425, allocations: 2.448 MB / 1.004 GB, free: 2.59 MB / 0.6856 GB Notification: Performance of SimCode: time 4.528e-06/2.425, allocations: 0 / 1.004 GB, free: 2.59 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.227/3.652, allocations: 156.5 MB / 1.156 GB, free: 264.7 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.5/36.15, allocations: 1.422 kB / 1.156 GB, free: 264.7 MB / 0.795 GB (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)