Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_dev_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.001202/0.001202, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00127/0.00127, allocations: 192.8 kB / 16.13 MB, free: 6.711 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.228/1.228, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8366/0.8366, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 63.09 kB / 0.5048 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1258, allocations: 80.92 MB / 0.5838 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.2537/0.3795, allocations: 55.62 MB / 0.6381 GB, free: 21.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0156/0.3952, allocations: 17.9 MB / 0.6556 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001897/0.3971, allocations: 69.56 kB / 0.6557 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.3987, allocations: 0.7226 MB / 0.6564 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00441/0.4032, allocations: 2.321 MB / 0.6586 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.4059, allocations: 1.38 MB / 0.66 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02293/0.4288, allocations: 27.77 MB / 0.6871 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01006/0.4389, allocations: 8.736 MB / 0.6956 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008797/0.4477, allocations: 5.534 MB / 0.701 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008135/0.4559, allocations: 6.192 MB / 0.7071 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001366/0.4573, allocations: 475.9 kB / 0.7075 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00359/0.4609, allocations: 1.155 MB / 0.7087 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001593/0.4625, allocations: 1.79 MB / 0.7104 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004703/0.4672, allocations: 4.125 MB / 0.7145 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01086/0.478, allocations: 12.64 MB / 0.7268 GB, free: 11.01 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4781, allocations: 0 / 0.7268 GB, free: 11.01 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.72e-07/0.4781, allocations: 0 / 0.7268 GB, free: 11.01 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001806/0.4783, allocations: 4 kB / 0.7268 GB, free: 11.01 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.01352/0.4918, allocations: 8.507 MB / 0.7351 GB, free: 2.406 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4918, allocations: 8.031 kB / 0.7351 GB, free: 2.398 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001056/0.4929, allocations: 0.8461 MB / 0.7359 GB, free: 1.543 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002202/0.4951, allocations: 0.8509 MB / 0.7368 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009571/0.5047, allocations: 6.626 MB / 0.7432 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002731/0.505, allocations: 460.2 kB / 0.7437 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000796/0.5058, allocations: 0.5975 MB / 0.7443 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0129/0.5187, allocations: 9.023 MB / 0.7531 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/0.5188, allocations: 23.78 kB / 0.7531 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005745/0.5194, allocations: 260 kB / 0.7533 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001458/0.5196, allocations: 183.9 kB / 0.7535 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01108/0.5306, allocations: 7.449 MB / 0.7608 GB, free: 7.695 MB / 0.5762 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.03722/0.5679, allocations: 35.89 MB / 0.7959 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005737/0.5736, allocations: 4.277 MB / 0.8 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004259/0.5779, allocations: 3.322 MB / 0.8033 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/0.5791, allocations: 0.9505 MB / 0.8042 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003471/0.5826, allocations: 2.394 MB / 0.8065 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002067/0.5847, allocations: 443.8 kB / 0.807 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 4.649e-06/0.5847, allocations: 0 / 0.807 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.01105/0.5957, allocations: 7.106 MB / 0.8139 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.5958, allocations: 85.91 kB / 0.814 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006597/0.6024, allocations: 5.467 MB / 0.8193 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002554/0.6027, allocations: 85.7 kB / 0.8194 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002528/0.6052, allocations: 3.192 MB / 0.8225 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009869/0.6062, allocations: 1.121 MB / 0.8236 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/0.6074, allocations: 0.8502 MB / 0.8244 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.037e-05/0.6075, allocations: 305.1 kB / 0.8247 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003122/0.6106, allocations: 2.156 MB / 0.8268 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003998/0.6146, allocations: 3.685 MB / 0.8304 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007422/0.622, allocations: 6.3 MB / 0.8366 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.999e-05/0.6221, allocations: 16 kB / 0.8366 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009905/0.632, allocations: 6.745 MB / 0.8432 GB, free: 15.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.147e-05/0.632, allocations: 53.7 kB / 0.8432 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.858e-05/0.6321, allocations: 51.94 kB / 0.8433 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009189/0.633, allocations: 445.5 kB / 0.8437 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003378/0.6364, allocations: 1.006 MB / 0.8447 GB, free: 13.85 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005153/0.6416, allocations: 5.26 MB / 0.8498 GB, free: 8.316 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004039/0.6456, allocations: 470.8 kB / 0.8503 GB, free: 7.855 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003222/0.646, allocations: 216 kB / 0.8505 GB, free: 7.645 MB / 0.67 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.003476/0.6494, allocations: 2.483 MB / 0.8529 GB, free: 5.148 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008831/0.6503, allocations: 0.521 MB / 0.8534 GB, free: 4.621 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2316/0.8819, allocations: 5.249 MB / 0.8586 GB, free: 201 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.866e-05/0.882, allocations: 35.91 kB / 0.8586 GB, free: 201 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.742e-05/0.882, allocations: 5.406 kB / 0.8586 GB, free: 201 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006535/0.8886, allocations: 4.52 MB / 0.863 GB, free: 200.2 MB / 0.67 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.01659/0.9052, allocations: 11.95 MB / 0.8747 GB, free: 195.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.9052, allocations: 2.875 kB / 0.8747 GB, free: 195.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002489/0.9077, allocations: 0.643 MB / 0.8753 GB, free: 195.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007035/0.9084, allocations: 369 kB / 0.8757 GB, free: 195.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001816/0.9086, allocations: 83.31 kB / 0.8757 GB, free: 195.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0039/0.9125, allocations: 5.185 MB / 0.8808 GB, free: 191.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.9125, allocations: 2.594 kB / 0.8808 GB, free: 191.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009246/0.9218, allocations: 7.607 MB / 0.8882 GB, free: 189 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002364/0.9241, allocations: 1.133 MB / 0.8893 GB, free: 188.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006852/0.9248, allocations: 66.2 kB / 0.8894 GB, free: 188.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003162/0.928, allocations: 471.8 kB / 0.8899 GB, free: 188.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004104/0.9284, allocations: 196.9 kB / 0.89 GB, free: 188.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002783/0.9287, allocations: 139.8 kB / 0.8902 GB, free: 188.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004947/0.9337, allocations: 3.805 MB / 0.8939 GB, free: 187.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9337, allocations: 4.344 kB / 0.8939 GB, free: 187.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004703/0.9384, allocations: 1.991 MB / 0.8958 GB, free: 187 MB / 0.67 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.01105/0.9494, allocations: 8.558 MB / 0.9042 GB, free: 183.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007391/0.9569, allocations: 5.375 MB / 0.9094 GB, free: 181.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.9569, allocations: 7.203 kB / 0.9094 GB, free: 181.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003204/0.9601, allocations: 2.502 MB / 0.9119 GB, free: 180.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01244/0.9725, allocations: 3.236 MB / 0.9151 GB, free: 179.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1139/1.086, allocations: 65.45 MB / 0.979 GB, free: 123.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003581/1.09, allocations: 4.628 MB / 0.9835 GB, free: 118.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005777/1.096, allocations: 1.995 MB / 0.9854 GB, free: 116.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003094/1.099, allocations: 2.667 MB / 0.988 GB, free: 114.1 MB / 0.67 GB Notification: Performance of SimCode: time 5.1e-07/1.099, allocations: 1.75 kB / 0.988 GB, free: 114.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.378/2.477, allocations: 159.2 MB / 1.144 GB, free: 194.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000136/2.477, allocations: 270.4 kB / 1.144 GB, free: 194.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.511/7.988, allocations: 1.438 kB / 1.144 GB, free: 194.5 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)