Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",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.0005877/0.0005878, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.003656/0.003657, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.123/1.123, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6438/0.6438, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002487/0.0002487, allocations: 8 kB / 0.5041 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3049, allocations: 81.57 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04493/0.3498, allocations: 54.53 MB / 0.637 GB, free: 9.719 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01816/0.368, allocations: 17.72 MB / 0.6543 GB, free: 7.941 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.3695, allocations: 67.56 kB / 0.6544 GB, free: 7.875 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.3709, allocations: 0.7146 MB / 0.6551 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004026/0.375, allocations: 2.324 MB / 0.6573 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.3773, allocations: 1.384 MB / 0.6587 GB, free: 3.453 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01911/0.3964, allocations: 27.77 MB / 0.6858 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007891/0.4044, allocations: 8.449 MB / 0.694 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006387/0.4108, allocations: 5.221 MB / 0.6991 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005747/0.4165, allocations: 5.791 MB / 0.7048 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005633/0.4171, allocations: 348 kB / 0.7051 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002305/0.4194, allocations: 1.026 MB / 0.7061 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001173/0.4206, allocations: 1.591 MB / 0.7077 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003389/0.424, allocations: 3.901 MB / 0.7115 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008553/0.4326, allocations: 12.3 MB / 0.7235 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4326, allocations: 0 / 0.7235 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.906e-06/0.4326, allocations: 0 / 0.7235 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001221/0.4327, allocations: 3.938 kB / 0.7235 GB, free: 0.7617 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.00968/0.4424, allocations: 6.882 MB / 0.7302 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.4424, allocations: 12.03 kB / 0.7302 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000911/0.4433, allocations: 0.8383 MB / 0.7311 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.4451, allocations: 0.8547 MB / 0.7319 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007895/0.453, allocations: 6.629 MB / 0.7384 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002491/0.4532, allocations: 460.2 kB / 0.7388 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007284/0.454, allocations: 0.6014 MB / 0.7394 GB, free: 332 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.465, allocations: 9.021 MB / 0.7482 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001013/0.4651, allocations: 19.86 kB / 0.7482 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005033/0.4656, allocations: 267.9 kB / 0.7485 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00013/0.4657, allocations: 183.9 kB / 0.7487 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01234/0.4781, allocations: 7.453 MB / 0.7559 GB, free: 15.06 MB / 0.5919 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.03361/0.5117, allocations: 35.98 MB / 0.7911 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004968/0.5167, allocations: 4.292 MB / 0.7953 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003784/0.5205, allocations: 3.332 MB / 0.7985 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/0.5216, allocations: 0.9856 MB / 0.7995 GB, free: 212 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003013/0.5246, allocations: 2.394 MB / 0.8018 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001676/0.5263, allocations: 447.7 kB / 0.8022 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=317): time 4.168e-06/0.5263, allocations: 3.938 kB / 0.8022 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317): time 0.01126/0.5376, allocations: 7.132 MB / 0.8092 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.5376, allocations: 89.91 kB / 0.8093 GB, free: 6.008 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007551/0.5452, allocations: 5.459 MB / 0.8146 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002085/0.5454, allocations: 89.7 kB / 0.8147 GB, free: 488 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.2039/0.7493, allocations: 3.189 MB / 0.8178 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00115/0.7505, allocations: 1.117 MB / 0.8189 GB, free: 201.8 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004202/0.7509, allocations: 363.2 kB / 0.8193 GB, free: 201.6 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 3.017e-05/0.7509, allocations: 306 kB / 0.8196 GB, free: 201.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002904/0.7538, allocations: 2.159 MB / 0.8217 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003298/0.7571, allocations: 3.691 MB / 0.8253 GB, free: 198 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006118/0.7633, allocations: 6.316 MB / 0.8314 GB, free: 194.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.283e-05/0.7633, allocations: 13.97 kB / 0.8315 GB, free: 194.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008282/0.7716, allocations: 6.762 MB / 0.8381 GB, free: 191.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/0.7717, allocations: 56.11 kB / 0.8381 GB, free: 191.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.625e-05/0.7717, allocations: 49.22 kB / 0.8382 GB, free: 191.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000787/0.7725, allocations: 438.5 kB / 0.8386 GB, free: 191.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002932/0.7754, allocations: 1.009 MB / 0.8396 GB, free: 191.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003819/0.7793, allocations: 5.266 MB / 0.8447 GB, free: 187.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003586/0.7829, allocations: 472.1 kB / 0.8452 GB, free: 187.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002334/0.7831, allocations: 216.2 kB / 0.8454 GB, free: 187.3 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.002739/0.7859, allocations: 2.475 MB / 0.8478 GB, free: 186.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005121/0.7864, allocations: 0.5266 MB / 0.8483 GB, free: 186 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005923/0.7923, allocations: 5.267 MB / 0.8534 GB, free: 183.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/0.7923, allocations: 37.2 kB / 0.8535 GB, free: 183.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.7923, allocations: 3.844 kB / 0.8535 GB, free: 183.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004471/0.7968, allocations: 4.527 MB / 0.8579 GB, free: 180.8 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 postOpt removeSimpleEquations (simulation): time 0.01216/0.809, allocations: 11.98 MB / 0.8696 GB, free: 169.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.809, allocations: 4 kB / 0.8696 GB, free: 169.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002181/0.8112, allocations: 0.6514 MB / 0.8702 GB, free: 168.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005754/0.8118, allocations: 373.3 kB / 0.8706 GB, free: 168.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/0.812, allocations: 83.95 kB / 0.8707 GB, free: 168.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003343/0.8153, allocations: 5.182 MB / 0.8757 GB, free: 162.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.8153, allocations: 0 / 0.8757 GB, free: 162.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007171/0.8225, allocations: 7.629 MB / 0.8832 GB, free: 155 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/0.824, allocations: 1.217 MB / 0.8844 GB, free: 153.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005059/0.8245, allocations: 75.98 kB / 0.8844 GB, free: 153.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002802/0.8273, allocations: 466.5 kB / 0.8849 GB, free: 153.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002924/0.8276, allocations: 210.1 kB / 0.8851 GB, free: 153 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002004/0.8278, allocations: 139.7 kB / 0.8852 GB, free: 152.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003396/0.8312, allocations: 3.811 MB / 0.8889 GB, free: 149.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8312, allocations: 2.734 kB / 0.8889 GB, free: 149.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003439/0.8347, allocations: 1.979 MB / 0.8909 GB, free: 147.2 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,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,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.008081/0.8428, allocations: 8.565 MB / 0.8992 GB, free: 138.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00563/0.8484, allocations: 5.392 MB / 0.9045 GB, free: 133.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.8484, allocations: 4 kB / 0.9045 GB, free: 133.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002749/0.8512, allocations: 2.517 MB / 0.907 GB, free: 130.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01226/0.8635, allocations: 3.22 MB / 0.9101 GB, free: 127.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1029/0.9664, allocations: 65.72 MB / 0.9743 GB, free: 55.95 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002687/0.9691, allocations: 4.624 MB / 0.9788 GB, free: 51.29 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004551/0.9736, allocations: 1.99 MB / 0.9808 GB, free: 49.32 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002481/0.9761, allocations: 2.674 MB / 0.9834 GB, free: 46.65 MB / 0.6387 GB Notification: Performance of SimCode: time 5.11e-07/0.9761, allocations: 0 / 0.9834 GB, free: 46.65 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 10.4/11.37, allocations: 157.9 MB / 1.138 GB, free: 204.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/11.37, allocations: 271.5 kB / 1.138 GB, free: 204 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.464/16.84, allocations: 3.875 kB / 1.138 GB, free: 204 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)