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.001119/0.001119, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.233/1.233, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.691/0.691, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 61.06 kB / 0.5019 GB, free: 3.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3176, allocations: 80.2 MB / 0.5802 GB, free: 4.84 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04823/0.3659, allocations: 55.99 MB / 0.6349 GB, free: 9.598 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02059/0.3865, allocations: 17.94 MB / 0.6524 GB, free: 7.609 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002033/0.3886, allocations: 75.56 kB / 0.6524 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001846/0.3905, allocations: 0.8885 MB / 0.6533 GB, free: 6.641 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004749/0.3953, allocations: 2.499 MB / 0.6558 GB, free: 4.129 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00271/0.398, allocations: 1.518 MB / 0.6572 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01576/0.4138, allocations: 21.22 MB / 0.678 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009792/0.4236, allocations: 10.7 MB / 0.6884 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01016/0.4337, allocations: 7.153 MB / 0.6954 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007917/0.4417, allocations: 6.37 MB / 0.7016 GB, free: 5 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001865/0.4435, allocations: 0.9375 MB / 0.7025 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004017/0.4476, allocations: 1.698 MB / 0.7042 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001855/0.4494, allocations: 2.337 MB / 0.7065 GB, free: 16 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.005229/0.4547, allocations: 4.711 MB / 0.7111 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.4649, allocations: 13.04 MB / 0.7238 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4649, allocations: 4 kB / 0.7238 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4649, allocations: 4 kB / 0.7238 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001559/0.4651, allocations: 0 / 0.7238 GB, free: 14.2 MB / 0.5606 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.01246/0.4776, allocations: 8.518 MB / 0.7321 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.4776, allocations: 8.031 kB / 0.7321 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009325/0.4786, allocations: 0.8499 MB / 0.733 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/0.4806, allocations: 0.8548 MB / 0.7338 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008352/0.4889, allocations: 6.429 MB / 0.7401 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002585/0.4892, allocations: 460.2 kB / 0.7405 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007269/0.49, allocations: 0.5937 MB / 0.7411 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/0.502, allocations: 9.025 MB / 0.7499 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/0.5022, allocations: 19.78 kB / 0.7499 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005432/0.5027, allocations: 264 kB / 0.7502 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001361/0.5029, allocations: 179.9 kB / 0.7504 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0105/0.5134, allocations: 7.449 MB / 0.7576 GB, free: 11.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.03851/0.5519, allocations: 36.25 MB / 0.793 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005705/0.5576, allocations: 4.288 MB / 0.7972 GB, free: 480 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00421/0.5619, allocations: 3.312 MB / 0.8005 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/0.5631, allocations: 0.9505 MB / 0.8014 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003495/0.5666, allocations: 2.386 MB / 0.8037 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001895/0.5685, allocations: 371.8 kB / 0.8041 GB, free: 9.223 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=317): time 8.045e-06/0.5685, allocations: 0 / 0.8041 GB, free: 9.223 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317): time 0.01143/0.58, allocations: 7.129 MB / 0.811 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.5801, allocations: 89.89 kB / 0.8111 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2246/0.8046, allocations: 5.667 MB / 0.8166 GB, free: 201.6 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0005746/0.8053, allocations: 87.45 kB / 0.8167 GB, free: 201.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002251/0.8075, allocations: 3.188 MB / 0.8198 GB, free: 199.7 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001008/0.8085, allocations: 1.12 MB / 0.8209 GB, free: 198.9 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001097/0.8096, allocations: 0.8574 MB / 0.8218 GB, free: 198.4 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 3.108e-05/0.8097, allocations: 302.4 kB / 0.8221 GB, free: 198.1 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002984/0.8127, allocations: 2.166 MB / 0.8242 GB, free: 197.4 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003358/0.816, allocations: 3.696 MB / 0.8278 GB, free: 194.8 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005973/0.822, allocations: 6.321 MB / 0.834 GB, free: 190.9 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.616e-05/0.8221, allocations: 14.97 kB / 0.834 GB, free: 190.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008898/0.831, allocations: 6.778 MB / 0.8406 GB, free: 188.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.222e-05/0.831, allocations: 52.2 kB / 0.8406 GB, free: 188.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.834e-05/0.8311, allocations: 48.88 kB / 0.8407 GB, free: 188.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007591/0.8318, allocations: 438.5 kB / 0.8411 GB, free: 188.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002832/0.8347, allocations: 1.011 MB / 0.8421 GB, free: 188.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003866/0.8386, allocations: 5.697 MB / 0.8477 GB, free: 183.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003144/0.8417, allocations: 281.8 kB / 0.8479 GB, free: 183.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/0.842, allocations: 222.8 kB / 0.8481 GB, free: 183.8 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.002571/0.8446, allocations: 2.484 MB / 0.8506 GB, free: 182.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006791/0.8452, allocations: 0.5258 MB / 0.8511 GB, free: 182.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00594/0.8512, allocations: 5.263 MB / 0.8562 GB, free: 179.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.8512, allocations: 29.97 kB / 0.8562 GB, free: 179.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.8512, allocations: 7.781 kB / 0.8563 GB, free: 179.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004614/0.8559, allocations: 4.538 MB / 0.8607 GB, free: 175.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01377/0.8696, allocations: 12.04 MB / 0.8724 GB, free: 163.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.8697, allocations: 3.844 kB / 0.8724 GB, free: 163.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002255/0.8719, allocations: 0.6397 MB / 0.8731 GB, free: 162.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000596/0.8725, allocations: 376.6 kB / 0.8734 GB, free: 162.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/0.8727, allocations: 83.95 kB / 0.8735 GB, free: 162.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003538/0.8763, allocations: 5.614 MB / 0.879 GB, free: 156.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8763, allocations: 11.92 kB / 0.879 GB, free: 156.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007949/0.8842, allocations: 7.757 MB / 0.8866 GB, free: 148.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/0.886, allocations: 1.154 MB / 0.8877 GB, free: 147.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006115/0.8867, allocations: 68.36 kB / 0.8878 GB, free: 147.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002322/0.889, allocations: 198.5 kB / 0.888 GB, free: 147 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003161/0.8893, allocations: 202.2 kB / 0.8882 GB, free: 146.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002075/0.8895, allocations: 139.9 kB / 0.8883 GB, free: 146.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003756/0.8933, allocations: 3.963 MB / 0.8922 GB, free: 142.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8933, allocations: 0 / 0.8922 GB, free: 142.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003772/0.8971, allocations: 2.007 MB / 0.8941 GB, free: 140.7 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.00847/0.9056, allocations: 8.715 MB / 0.9026 GB, free: 132 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01567/0.9212, allocations: 11.64 MB / 0.914 GB, free: 120.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.9213, allocations: 8.062 kB / 0.914 GB, free: 120.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002459/0.9237, allocations: 2.541 MB / 0.9165 GB, free: 117.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01096/0.9347, allocations: 3.397 MB / 0.9198 GB, free: 114.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0527/0.9874, allocations: 64.75 MB / 0.983 GB, free: 43.96 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005285/0.9927, allocations: 4.628 MB / 0.9876 GB, free: 39.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.008904/1.002, allocations: 2.084 MB / 0.9896 GB, free: 37.24 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004616/1.006, allocations: 2.667 MB / 0.9922 GB, free: 34.57 MB / 0.6387 GB Notification: Performance of SimCode: time 7.41e-07/1.006, allocations: 0 / 0.9922 GB, free: 34.57 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.081/2.088, allocations: 165.6 MB / 1.154 GB, free: 171.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/14.58, allocations: 10.03 kB / 1.154 GB, free: 171.4 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)