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.001417/0.001417, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00165/0.00165, allocations: 195.3 kB / 16.14 MB, free: 6.715 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.288/1.288, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7207/0.7207, allocations: 132.2 MB / 422.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 68.61 kB / 0.5012 GB, free: 9.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1246, allocations: 80.2 MB / 0.5795 GB, free: 9.168 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.2486/0.3733, allocations: 55.62 MB / 0.6338 GB, free: 25.99 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01558/0.3889, allocations: 17.92 MB / 0.6513 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.3908, allocations: 67.06 kB / 0.6514 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.3924, allocations: 0.7273 MB / 0.6521 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004118/0.3965, allocations: 2.328 MB / 0.6544 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002383/0.3989, allocations: 1.381 MB / 0.6557 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02036/0.4193, allocations: 27.77 MB / 0.6828 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01033/0.4297, allocations: 8.718 MB / 0.6913 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009399/0.4391, allocations: 5.542 MB / 0.6968 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00919/0.4483, allocations: 6.185 MB / 0.7028 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001135/0.4495, allocations: 472 kB / 0.7032 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003939/0.4534, allocations: 1.158 MB / 0.7044 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001674/0.4551, allocations: 1.798 MB / 0.7061 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00524/0.4604, allocations: 4.114 MB / 0.7102 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01104/0.4714, allocations: 12.65 MB / 0.7225 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.4714, allocations: 0 / 0.7225 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4714, allocations: 3.938 kB / 0.7225 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002143/0.4717, allocations: 0 / 0.7225 GB, free: 0.957 MB / 0.5294 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.01567/0.4873, allocations: 8.488 MB / 0.7308 GB, free: 8.379 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.4874, allocations: 8.031 kB / 0.7308 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001379/0.4888, allocations: 0.8461 MB / 0.7316 GB, free: 7.516 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002527/0.4913, allocations: 0.8626 MB / 0.7325 GB, free: 6.645 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01105/0.5024, allocations: 6.623 MB / 0.7389 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003319/0.5028, allocations: 460.2 kB / 0.7394 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00143/0.5042, allocations: 0.6053 MB / 0.74 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01593/0.5201, allocations: 9.031 MB / 0.7488 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/0.5203, allocations: 23.77 kB / 0.7488 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006509/0.5209, allocations: 260 kB / 0.7491 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001461/0.5211, allocations: 180 kB / 0.7492 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01229/0.5334, allocations: 7.449 MB / 0.7565 GB, free: 13.65 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.04187/0.5753, allocations: 35.9 MB / 0.7916 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005932/0.5813, allocations: 4.273 MB / 0.7957 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00428/0.5856, allocations: 3.304 MB / 0.799 GB, free: 116 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/0.5868, allocations: 0.9583 MB / 0.7999 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003621/0.5904, allocations: 2.39 MB / 0.8022 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002378/0.5928, allocations: 447.8 kB / 0.8027 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 7.514e-06/0.5928, allocations: 0 / 0.8027 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.01202/0.6049, allocations: 7.111 MB / 0.8096 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.6049, allocations: 81.91 kB / 0.8097 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006891/0.6118, allocations: 5.456 MB / 0.815 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003112/0.6122, allocations: 89.7 kB / 0.8151 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002589/0.6148, allocations: 3.2 MB / 0.8182 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001029/0.6158, allocations: 1.117 MB / 0.8193 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001141/0.6169, allocations: 0.8541 MB / 0.8202 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.617, allocations: 305.1 kB / 0.8204 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003076/0.6201, allocations: 2.159 MB / 0.8226 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003986/0.6241, allocations: 3.685 MB / 0.8262 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007416/0.6315, allocations: 6.3 MB / 0.8323 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.22e-05/0.6316, allocations: 12 kB / 0.8323 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01011/0.6417, allocations: 6.752 MB / 0.8389 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-05/0.6418, allocations: 57.69 kB / 0.839 GB, free: 5.293 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.058e-05/0.6418, allocations: 48 kB / 0.839 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009291/0.6428, allocations: 440.9 kB / 0.8394 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003558/0.6463, allocations: 1.002 MB / 0.8404 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005401/0.6518, allocations: 5.27 MB / 0.8456 GB, free: 14.27 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004555/0.6563, allocations: 462.8 kB / 0.846 GB, free: 13.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003857/0.6567, allocations: 216 kB / 0.8462 GB, free: 13.61 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.003571/0.6603, allocations: 2.487 MB / 0.8486 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001043/0.6614, allocations: 0.5249 MB / 0.8491 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008021/0.6694, allocations: 5.237 MB / 0.8543 GB, free: 5.289 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.904e-05/0.6694, allocations: 39.94 kB / 0.8543 GB, free: 5.25 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.6694, allocations: 4 kB / 0.8543 GB, free: 5.246 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006195/0.6756, allocations: 4.52 MB / 0.8587 GB, free: 0.6211 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.2172/0.8928, allocations: 11.95 MB / 0.8704 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.8929, allocations: 0 / 0.8704 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002437/0.8953, allocations: 0.6453 MB / 0.871 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006527/0.896, allocations: 372.3 kB / 0.8714 GB, free: 202.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001791/0.8962, allocations: 87.27 kB / 0.8714 GB, free: 202.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003709/0.8999, allocations: 5.193 MB / 0.8765 GB, free: 199.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.8999, allocations: 0 / 0.8765 GB, free: 199.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008553/0.9084, allocations: 7.604 MB / 0.8839 GB, free: 196.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/0.9105, allocations: 1.136 MB / 0.8851 GB, free: 195.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006236/0.9111, allocations: 67.94 kB / 0.8851 GB, free: 195.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002996/0.9141, allocations: 461.4 kB / 0.8856 GB, free: 195.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003473/0.9145, allocations: 198.2 kB / 0.8857 GB, free: 195.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002354/0.9147, allocations: 137.8 kB / 0.8859 GB, free: 195.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004229/0.9189, allocations: 3.811 MB / 0.8896 GB, free: 194.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 8.52e-07/0.9189, allocations: 1.625 kB / 0.8896 GB, free: 194.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004567/0.9235, allocations: 1.986 MB / 0.8915 GB, free: 194.2 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.01013/0.9337, allocations: 8.559 MB / 0.8999 GB, free: 190.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007079/0.9408, allocations: 5.368 MB / 0.9051 GB, free: 188.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.9408, allocations: 3.938 kB / 0.9051 GB, free: 188.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003125/0.9439, allocations: 2.504 MB / 0.9076 GB, free: 187.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01241/0.9563, allocations: 3.234 MB / 0.9107 GB, free: 187 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.117/1.073, allocations: 65.45 MB / 0.9747 GB, free: 132.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002886/1.076, allocations: 4.628 MB / 0.9792 GB, free: 128 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005476/1.082, allocations: 1.987 MB / 0.9811 GB, free: 126 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002811/1.085, allocations: 2.667 MB / 0.9837 GB, free: 123.3 MB / 0.67 GB Notification: Performance of SimCode: time 5.61e-07/1.085, allocations: 0 / 0.9837 GB, free: 123.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.657/2.742, allocations: 159.2 MB / 1.139 GB, free: 210.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/2.742, allocations: 271.5 kB / 1.139 GB, free: 210.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.373/8.115, allocations: 2.531 kB / 1.139 GB, free: 210.1 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)