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.001198/0.001198, 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.0009636/0.0009636, allocations: 192.9 kB / 16.25 MB, free: 6.621 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.138/1.138, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6491/0.6491, allocations: 132.2 MB / 422.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 59.69 kB / 0.5013 GB, free: 4.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2903, allocations: 80.2 MB / 0.5797 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0439/0.3342, allocations: 55.52 MB / 0.6339 GB, free: 9.973 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01886/0.3531, allocations: 17.78 MB / 0.6513 GB, free: 8.133 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001804/0.355, allocations: 67.62 kB / 0.6513 GB, free: 8.066 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.3566, allocations: 0.7614 MB / 0.6521 GB, free: 7.301 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004293/0.361, allocations: 2.317 MB / 0.6543 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.3635, allocations: 1.4 MB / 0.6557 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01523/0.3787, allocations: 21.3 MB / 0.6765 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009325/0.3881, allocations: 10.61 MB / 0.6869 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01073/0.3988, allocations: 7.228 MB / 0.6939 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007102/0.4059, allocations: 6.557 MB / 0.7003 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001128/0.4071, allocations: 0.9258 MB / 0.7012 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003228/0.4103, allocations: 1.709 MB / 0.7029 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001693/0.412, allocations: 2.318 MB / 0.7052 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004761/0.4168, allocations: 4.699 MB / 0.7098 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009469/0.4263, allocations: 13.02 MB / 0.7225 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4263, allocations: 0 / 0.7225 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4263, allocations: 0 / 0.7225 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.00018/0.4265, allocations: 0 / 0.7225 GB, free: 14.96 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.01189/0.4384, allocations: 8.51 MB / 0.7308 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.4384, allocations: 16.03 kB / 0.7308 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009112/0.4393, allocations: 0.8383 MB / 0.7316 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.4413, allocations: 0.8509 MB / 0.7324 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008103/0.4494, allocations: 6.622 MB / 0.7389 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002444/0.4497, allocations: 460.2 kB / 0.7393 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007008/0.4504, allocations: 0.5937 MB / 0.7399 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01141/0.4618, allocations: 9.025 MB / 0.7487 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001086/0.4619, allocations: 23.78 kB / 0.7488 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005181/0.4624, allocations: 263.9 kB / 0.749 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/0.4626, allocations: 179.9 kB / 0.7492 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009521/0.4721, allocations: 7.449 MB / 0.7565 GB, free: 11.64 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.03198/0.5041, allocations: 35.91 MB / 0.7915 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004903/0.509, allocations: 4.268 MB / 0.7957 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003679/0.5127, allocations: 3.316 MB / 0.7989 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/0.5138, allocations: 0.9583 MB / 0.7999 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003073/0.5169, allocations: 2.382 MB / 0.8022 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001792/0.5187, allocations: 407.9 kB / 0.8026 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=317): time 5.34e-06/0.5187, allocations: 0 / 0.8026 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317): time 0.01003/0.5287, allocations: 7.14 MB / 0.8096 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.5288, allocations: 85.91 kB / 0.8096 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2134/0.7422, allocations: 5.457 MB / 0.815 GB, free: 201.3 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0006017/0.7428, allocations: 87.08 kB / 0.815 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002054/0.7449, allocations: 3.193 MB / 0.8182 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009147/0.7458, allocations: 1.115 MB / 0.8193 GB, free: 198.6 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/0.7469, allocations: 0.8587 MB / 0.8201 GB, free: 198.1 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 3.169e-05/0.7469, allocations: 306.4 kB / 0.8204 GB, free: 197.8 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002897/0.7498, allocations: 2.162 MB / 0.8225 GB, free: 197.1 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003211/0.753, allocations: 3.701 MB / 0.8261 GB, free: 194.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005803/0.7588, allocations: 6.324 MB / 0.8323 GB, free: 190.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.411e-05/0.7589, allocations: 14.12 kB / 0.8323 GB, free: 190.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008365/0.7672, allocations: 6.778 MB / 0.8389 GB, free: 188 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.033e-05/0.7673, allocations: 56.12 kB / 0.839 GB, free: 188 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.8e-05/0.7674, allocations: 48.28 kB / 0.839 GB, free: 188 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007808/0.7681, allocations: 434.7 kB / 0.8394 GB, free: 187.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002946/0.7711, allocations: 1.004 MB / 0.8404 GB, free: 187.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003761/0.7749, allocations: 5.703 MB / 0.846 GB, free: 183.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003426/0.7783, allocations: 467.9 kB / 0.8464 GB, free: 183.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/0.7786, allocations: 217.3 kB / 0.8466 GB, free: 183.5 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.00241/0.781, allocations: 2.486 MB / 0.8491 GB, free: 182.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006302/0.7816, allocations: 0.5262 MB / 0.8496 GB, free: 182.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00573/0.7874, allocations: 5.264 MB / 0.8547 GB, free: 179.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.7874, allocations: 34.31 kB / 0.8548 GB, free: 179.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.515e-06/0.7874, allocations: 11.28 kB / 0.8548 GB, free: 179.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004426/0.7918, allocations: 4.53 MB / 0.8592 GB, free: 176.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01212/0.804, allocations: 11.95 MB / 0.8709 GB, free: 164 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.804, allocations: 0 / 0.8709 GB, free: 164 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/0.8063, allocations: 0.6515 MB / 0.8715 GB, free: 163.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005841/0.8069, allocations: 375.6 kB / 0.8719 GB, free: 163 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/0.807, allocations: 83.95 kB / 0.8719 GB, free: 162.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003442/0.8105, allocations: 5.616 MB / 0.8774 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.8105, allocations: 4 kB / 0.8774 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007509/0.818, allocations: 7.761 MB / 0.885 GB, free: 149.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001743/0.8198, allocations: 1.139 MB / 0.8861 GB, free: 148 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006028/0.8204, allocations: 60 kB / 0.8862 GB, free: 148 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002956/0.8233, allocations: 466.2 kB / 0.8866 GB, free: 147.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000319/0.8237, allocations: 204.8 kB / 0.8868 GB, free: 147.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002099/0.8239, allocations: 139.9 kB / 0.8869 GB, free: 147.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003433/0.8273, allocations: 3.807 MB / 0.8907 GB, free: 143.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8273, allocations: 0 / 0.8907 GB, free: 143.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003611/0.8309, allocations: 1.991 MB / 0.8926 GB, free: 141.4 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.008114/0.8391, allocations: 8.703 MB / 0.9011 GB, free: 132.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01514/0.8542, allocations: 11.63 MB / 0.9125 GB, free: 121 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.8542, allocations: 8.062 kB / 0.9125 GB, free: 121 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002354/0.8566, allocations: 2.541 MB / 0.915 GB, free: 118.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009998/0.8666, allocations: 3.389 MB / 0.9183 GB, free: 115.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1015/0.9681, allocations: 65.65 MB / 0.9824 GB, free: 43.95 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002579/0.9707, allocations: 4.628 MB / 0.9869 GB, free: 39.29 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00468/0.9754, allocations: 2.033 MB / 0.9889 GB, free: 37.28 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002481/0.9779, allocations: 2.667 MB / 0.9915 GB, free: 34.61 MB / 0.6387 GB Notification: Performance of SimCode: time 5.11e-07/0.9779, allocations: 0 / 0.9915 GB, free: 34.61 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.072/8.05, allocations: 163.1 MB / 1.151 GB, free: 174.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/8.05, allocations: 262.3 kB / 1.151 GB, free: 173.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.947/14, allocations: 0 / 1.151 GB, free: 173.8 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)