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.007368/0.007368, 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.001879/0.001879, 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.365/1.365, 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.7899/0.7899, allocations: 135.6 MB / 426.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 72.45 kB / 0.5857 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1366, allocations: 81.02 MB / 0.6649 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0557/0.1924, allocations: 55.97 MB / 0.7195 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02315/0.2155, allocations: 17.93 MB / 0.737 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/0.2177, allocations: 79.56 kB / 0.7371 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002071/0.2197, allocations: 0.8924 MB / 0.738 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006243/0.226, allocations: 2.507 MB / 0.7404 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003511/0.2295, allocations: 1.533 MB / 0.7419 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3212/0.5508, allocations: 21.2 MB / 0.7626 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01359/0.5644, allocations: 10.71 MB / 0.7731 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01372/0.5782, allocations: 7.176 MB / 0.7801 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009633/0.5878, allocations: 6.373 MB / 0.7863 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002475/0.5903, allocations: 0.9377 MB / 0.7872 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006149/0.5965, allocations: 1.702 MB / 0.7889 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002776/0.5993, allocations: 2.343 MB / 0.7912 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.009/0.6083, allocations: 4.722 MB / 0.7958 GB, free: 0 / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01717/0.6255, allocations: 13.25 MB / 0.8087 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.6256, allocations: 0 / 0.8087 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6256, allocations: 0 / 0.8087 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003211/0.6259, allocations: 0 / 0.8087 GB, free: 9.301 MB / 0.5919 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.02041/0.6463, allocations: 8.727 MB / 0.8173 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.6464, allocations: 14.89 kB / 0.8173 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001956/0.6483, allocations: 0.8408 MB / 0.8181 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002956/0.6513, allocations: 0.8981 MB / 0.819 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01264/0.664, allocations: 6.742 MB / 0.8256 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003923/0.6644, allocations: 456.2 kB / 0.826 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001574/0.666, allocations: 0.5968 MB / 0.8266 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01697/0.6829, allocations: 9.026 MB / 0.8354 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000129/0.6831, allocations: 20.02 kB / 0.8354 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000699/0.6838, allocations: 256 kB / 0.8357 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001747/0.684, allocations: 182.6 kB / 0.8358 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01399/0.698, allocations: 7.45 MB / 0.8431 GB, free: 6.18 MB / 0.6231 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.05359/0.7516, allocations: 36.06 MB / 0.8783 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007351/0.759, allocations: 4.294 MB / 0.8825 GB, free: 12.43 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00515/0.7642, allocations: 3.293 MB / 0.8857 GB, free: 9.137 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/0.7656, allocations: 0.9574 MB / 0.8867 GB, free: 8.008 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004232/0.7698, allocations: 2.386 MB / 0.889 GB, free: 5.586 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002166/0.772, allocations: 376.1 kB / 0.8893 GB, free: 5.219 MB / 0.67 GB Notification: Performance of pre-optimization done (n=317): time 7.855e-06/0.772, allocations: 0 / 0.8893 GB, free: 5.219 MB / 0.67 GB Notification: Performance of matching and sorting (n=317): time 0.01339/0.7854, allocations: 7.161 MB / 0.8963 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.7855, allocations: 85.91 kB / 0.8964 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009723/0.7952, allocations: 5.67 MB / 0.902 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004469/0.7957, allocations: 89.7 kB / 0.902 GB, free: 8.152 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00344/0.7992, allocations: 3.269 MB / 0.9052 GB, free: 4.879 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.00144/0.8006, allocations: 1.18 MB / 0.9064 GB, free: 3.715 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001665/0.8023, allocations: 0.8585 MB / 0.9072 GB, free: 2.844 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.8024, allocations: 311.7 kB / 0.9075 GB, free: 2.539 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00356/0.806, allocations: 2.163 MB / 0.9096 GB, free: 376 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004679/0.8107, allocations: 3.693 MB / 0.9132 GB, free: 12 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00854/0.8192, allocations: 6.321 MB / 0.9194 GB, free: 5.164 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.739e-05/0.8193, allocations: 19.94 kB / 0.9194 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01281/0.8321, allocations: 6.798 MB / 0.9261 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.919e-05/0.8322, allocations: 50.64 kB / 0.9261 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.621e-05/0.8323, allocations: 48 kB / 0.9262 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009999/0.8333, allocations: 443.7 kB / 0.9266 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003385/0.8367, allocations: 1.01 MB / 0.9276 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006233/0.8429, allocations: 5.699 MB / 0.9331 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004154/0.8471, allocations: 287.7 kB / 0.9334 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005134/0.8476, allocations: 216 kB / 0.9336 GB, free: 6.523 MB / 0.7169 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.004246/0.8519, allocations: 2.476 MB / 0.936 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001646/0.8535, allocations: 0.559 MB / 0.9366 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009599/0.8631, allocations: 5.271 MB / 0.9417 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.26e-05/0.8632, allocations: 31.98 kB / 0.9418 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/0.8632, allocations: 8 kB / 0.9418 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00714/0.8704, allocations: 4.532 MB / 0.9462 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02377/0.8942, allocations: 11.98 MB / 0.9579 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/0.8942, allocations: 0 / 0.9579 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002709/0.8969, allocations: 0.6476 MB / 0.9585 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008658/0.8978, allocations: 372.5 kB / 0.9589 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002994/0.8981, allocations: 83.95 kB / 0.959 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00584/0.904, allocations: 5.626 MB / 0.9645 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.904, allocations: 11.88 kB / 0.9645 GB, free: 6.422 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/0.9165, allocations: 7.794 MB / 0.9721 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002981/0.9195, allocations: 1.185 MB / 0.9732 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001252/0.9207, allocations: 60 kB / 0.9733 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00345/0.9242, allocations: 203.8 kB / 0.9735 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005392/0.9248, allocations: 194.2 kB / 0.9737 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005703/0.9253, allocations: 139.9 kB / 0.9738 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.007604/0.933, allocations: 3.959 MB / 0.9777 GB, free: 8.805 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.71e-07/0.933, allocations: 0 / 0.9777 GB, free: 8.805 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.006806/0.9398, allocations: 2.023 MB / 0.9797 GB, free: 6.777 MB / 0.7637 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.01466/0.9545, allocations: 8.741 MB / 0.9882 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.009017/0.9635, allocations: 5.45 MB / 0.9935 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.9636, allocations: 0 / 0.9935 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.004041/0.9676, allocations: 2.549 MB / 0.996 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01557/0.9832, allocations: 3.379 MB / 0.9993 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09344/1.077, allocations: 52.56 MB / 1.051 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004608/1.081, allocations: 4.638 MB / 1.055 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.005503/1.087, allocations: 2.073 MB / 1.057 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003884/1.091, allocations: 2.678 MB / 1.06 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of SimCode: time 9.82e-07/1.091, allocations: 0 / 1.06 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.512/2.603, allocations: 159.8 MB / 1.216 GB, free: 194.6 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.61/24.21, allocations: 10.86 kB / 1.216 GB, free: 194.6 MB / 0.8419 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)