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.001402/0.001402, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001601/0.001602, allocations: 197.9 kB / 16.26 MB, free: 6.625 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.195/1.195, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.053/1.053, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 67.98 kB / 0.505 GB, free: 5.555 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1505, allocations: 80.92 MB / 0.584 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.3581/0.5087, allocations: 55.5 MB / 0.6382 GB, free: 21.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01812/0.5269, allocations: 17.77 MB / 0.6555 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002784/0.5297, allocations: 66.03 kB / 0.6556 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002127/0.5319, allocations: 0.7608 MB / 0.6563 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006276/0.5382, allocations: 2.323 MB / 0.6586 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003233/0.5414, allocations: 1.4 MB / 0.66 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02102/0.5624, allocations: 21.31 MB / 0.6808 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01542/0.5779, allocations: 10.61 MB / 0.6912 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01883/0.5968, allocations: 7.235 MB / 0.6982 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01398/0.6108, allocations: 6.561 MB / 0.7046 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.003089/0.6139, allocations: 0.9297 MB / 0.7055 GB, free: 60 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007151/0.6211, allocations: 1.703 MB / 0.7072 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003571/0.6247, allocations: 2.328 MB / 0.7095 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0115/0.6362, allocations: 4.692 MB / 0.7141 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01726/0.6535, allocations: 13.02 MB / 0.7268 GB, free: 11.15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.6536, allocations: 0 / 0.7268 GB, free: 11.15 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.879e-06/0.6536, allocations: 0 / 0.7268 GB, free: 11.15 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0005216/0.6541, allocations: 3.938 kB / 0.7268 GB, free: 11.15 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.02568/0.6798, allocations: 8.503 MB / 0.7351 GB, free: 2.551 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.6799, allocations: 12.03 kB / 0.7351 GB, free: 2.539 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003428/0.6833, allocations: 0.8383 MB / 0.7359 GB, free: 1.691 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004932/0.6883, allocations: 0.847 MB / 0.7367 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01491/0.7032, allocations: 6.631 MB / 0.7432 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005459/0.7038, allocations: 464.2 kB / 0.7437 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002549/0.7064, allocations: 0.5936 MB / 0.7442 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02549/0.7319, allocations: 9.023 MB / 0.753 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003208/0.7322, allocations: 23.72 kB / 0.7531 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002335/0.7346, allocations: 260 kB / 0.7533 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002327/0.7348, allocations: 183.9 kB / 0.7535 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01867/0.7535, allocations: 7.441 MB / 0.7608 GB, free: 7.848 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.0606/0.8142, allocations: 35.9 MB / 0.7958 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007668/0.8219, allocations: 4.279 MB / 0.8 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005412/0.8273, allocations: 3.314 MB / 0.8032 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001545/0.8289, allocations: 0.966 MB / 0.8042 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004796/0.8337, allocations: 2.382 MB / 0.8065 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003926/0.8377, allocations: 407.9 kB / 0.8069 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 1.351e-05/0.8377, allocations: 0 / 0.8069 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.0159/0.8536, allocations: 7.14 MB / 0.8139 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.8538, allocations: 89.91 kB / 0.8139 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01709/0.8709, allocations: 5.455 MB / 0.8193 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001122/0.8721, allocations: 89.7 kB / 0.8194 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.005845/0.878, allocations: 3.188 MB / 0.8225 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002684/0.8807, allocations: 1.121 MB / 0.8236 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003793/0.8845, allocations: 0.858 MB / 0.8244 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.8847, allocations: 313.1 kB / 0.8247 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006331/0.8911, allocations: 2.16 MB / 0.8268 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008419/0.8995, allocations: 3.697 MB / 0.8304 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01543/0.915, allocations: 6.315 MB / 0.8366 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.796e-05/0.9151, allocations: 20 kB / 0.8366 GB, free: 6.309 MB / 0.6544 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.02183/0.937, allocations: 6.768 MB / 0.8432 GB, free: 15.48 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001795/0.9372, allocations: 57.69 kB / 0.8433 GB, free: 15.42 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001239/0.9374, allocations: 48 kB / 0.8433 GB, free: 15.38 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00149/0.9389, allocations: 442 kB / 0.8437 GB, free: 14.94 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006084/0.945, allocations: 1.002 MB / 0.8447 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009311/0.9543, allocations: 5.709 MB / 0.8503 GB, free: 7.949 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008137/0.9625, allocations: 462.8 kB / 0.8507 GB, free: 7.496 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001402/0.9639, allocations: 223.9 kB / 0.851 GB, free: 7.277 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.006822/0.9708, allocations: 2.481 MB / 0.8534 GB, free: 4.785 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002378/0.9732, allocations: 0.5288 MB / 0.8539 GB, free: 4.25 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5689/1.542, allocations: 5.258 MB / 0.859 GB, free: 200.9 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.36e-05/1.542, allocations: 32.22 kB / 0.8591 GB, free: 200.9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/1.542, allocations: 5.375 kB / 0.8591 GB, free: 200.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006502/1.549, allocations: 4.535 MB / 0.8635 GB, free: 199.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03056/1.579, allocations: 11.95 MB / 0.8752 GB, free: 195.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/1.579, allocations: 0 / 0.8752 GB, free: 195.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002948/1.582, allocations: 0.645 MB / 0.8758 GB, free: 195.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008974/1.583, allocations: 375.6 kB / 0.8761 GB, free: 195.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002789/1.584, allocations: 82.19 kB / 0.8762 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004986/1.588, allocations: 5.613 MB / 0.8817 GB, free: 191.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.589, allocations: 7.906 kB / 0.8817 GB, free: 191.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01928/1.608, allocations: 7.757 MB / 0.8893 GB, free: 188.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006588/1.614, allocations: 1.144 MB / 0.8904 GB, free: 188 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002846/1.617, allocations: 70.58 kB / 0.8905 GB, free: 187.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01006/1.627, allocations: 455.7 kB / 0.8909 GB, free: 187.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001548/1.629, allocations: 199.2 kB / 0.8911 GB, free: 187.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001203/1.63, allocations: 143.1 kB / 0.8912 GB, free: 187.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01495/1.645, allocations: 3.81 MB / 0.895 GB, free: 186.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.303e-06/1.645, allocations: 1.875 kB / 0.895 GB, free: 186.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01499/1.66, allocations: 1.984 MB / 0.8969 GB, free: 186.3 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.03175/1.692, allocations: 8.708 MB / 0.9054 GB, free: 182.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.04713/1.739, allocations: 11.64 MB / 0.9168 GB, free: 180.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.815e-05/1.74, allocations: 0 / 0.9168 GB, free: 180.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008147/1.748, allocations: 2.548 MB / 0.9193 GB, free: 179.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03099/1.779, allocations: 3.394 MB / 0.9226 GB, free: 178.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2651/2.044, allocations: 65.64 MB / 0.9867 GB, free: 115.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007302/2.051, allocations: 4.634 MB / 0.9912 GB, free: 111.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.009229/2.061, allocations: 2.042 MB / 0.9932 GB, free: 109.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005303/2.066, allocations: 2.667 MB / 0.9958 GB, free: 106.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.312e-06/2.066, allocations: 0 / 0.9958 GB, free: 106.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.914/4.98, allocations: 163.1 MB / 1.155 GB, free: 205.9 MB / 0.6857 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/4.98, allocations: 264.5 kB / 1.155 GB, free: 205.5 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.146/12.13, allocations: 1.344 kB / 1.155 GB, free: 205.5 MB / 0.6857 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)