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.006099/0.006099, allocations: 100 kB / 15.73 MB, free: 6.023 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.001309/0.001309, allocations: 187.7 kB / 16.67 MB, free: 5.961 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7616/0.7616, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 62 kB / 0.5808 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1686, allocations: 80.22 MB / 0.6592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05048/0.2191, allocations: 55.98 MB / 0.7139 GB, free: 5.859 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02278/0.2419, allocations: 17.92 MB / 0.7314 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003063/0.245, allocations: 79.56 kB / 0.7314 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002945/0.248, allocations: 0.8924 MB / 0.7323 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007284/0.2553, allocations: 2.505 MB / 0.7347 GB, free: 400 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004131/0.2595, allocations: 1.53 MB / 0.7362 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02519/0.2847, allocations: 21.23 MB / 0.757 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01429/0.299, allocations: 10.7 MB / 0.7674 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01404/0.3131, allocations: 7.244 MB / 0.7745 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01087/0.3241, allocations: 6.37 MB / 0.7807 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003011/0.3271, allocations: 0.9375 MB / 0.7816 GB, free: 216 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007087/0.3342, allocations: 1.698 MB / 0.7833 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004697/0.339, allocations: 2.341 MB / 0.7856 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01226/0.3513, allocations: 4.711 MB / 0.7902 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01818/0.3695, allocations: 13.2 MB / 0.8031 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.3695, allocations: 0 / 0.8031 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3696, allocations: 0 / 0.8031 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004913/0.3701, allocations: 0 / 0.8031 GB, free: 10.2 MB / 0.6387 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.02676/0.3968, allocations: 8.52 MB / 0.8114 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.3969, allocations: 12.03 kB / 0.8114 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003225/0.4001, allocations: 0.8422 MB / 0.8122 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7394/1.14, allocations: 0.8496 MB / 0.8131 GB, free: 139.7 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01757/1.157, allocations: 6.702 MB / 0.8196 GB, free: 137.7 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005911/1.158, allocations: 461.2 kB / 0.82 GB, free: 137.5 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002237/1.16, allocations: 0.5942 MB / 0.8206 GB, free: 137.3 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02154/1.182, allocations: 9.029 MB / 0.8294 GB, free: 133.6 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001626/1.182, allocations: 24.69 kB / 0.8295 GB, free: 133.6 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008293/1.183, allocations: 265.4 kB / 0.8297 GB, free: 133.4 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001909/1.183, allocations: 172.9 kB / 0.8299 GB, free: 133.4 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0137/1.197, allocations: 7.451 MB / 0.8372 GB, free: 129.5 MB / 0.6388 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.04542/1.242, allocations: 35.99 MB / 0.8723 GB, free: 92.7 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005569/1.248, allocations: 4.283 MB / 0.8765 GB, free: 88.44 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003941/1.252, allocations: 3.298 MB / 0.8797 GB, free: 85.14 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/1.253, allocations: 0.9617 MB / 0.8806 GB, free: 84.01 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003405/1.256, allocations: 2.384 MB / 0.883 GB, free: 81.59 MB / 0.6388 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002456/1.259, allocations: 370 kB / 0.8833 GB, free: 81.23 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=317): time 9.017e-06/1.259, allocations: 0 / 0.8833 GB, free: 81.23 MB / 0.6388 GB Notification: Performance of matching and sorting (n=317): time 0.01142/1.27, allocations: 7.138 MB / 0.8903 GB, free: 74 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/1.27, allocations: 85.91 kB / 0.8904 GB, free: 73.91 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007282/1.277, allocations: 5.662 MB / 0.8959 GB, free: 68.27 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.000748/1.278, allocations: 85.7 kB / 0.896 GB, free: 68.18 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.002204/1.28, allocations: 3.2 MB / 0.8991 GB, free: 64.96 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001311/1.282, allocations: 1.111 MB / 0.9002 GB, free: 63.86 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001027/1.283, allocations: 0.858 MB / 0.901 GB, free: 62.99 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 4.252e-05/1.283, allocations: 301.1 kB / 0.9013 GB, free: 62.69 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002569/1.285, allocations: 2.167 MB / 0.9034 GB, free: 60.52 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003045/1.289, allocations: 3.697 MB / 0.907 GB, free: 56.11 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006244/1.295, allocations: 6.327 MB / 0.9132 GB, free: 49.07 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.979e-05/1.295, allocations: 15.94 kB / 0.9132 GB, free: 49.05 MB / 0.6388 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009275/1.304, allocations: 6.78 MB / 0.9199 GB, free: 42.22 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 6.294e-05/1.304, allocations: 53.7 kB / 0.9199 GB, free: 42.16 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.011e-05/1.304, allocations: 48 kB / 0.92 GB, free: 42.12 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008374/1.305, allocations: 438.4 kB / 0.9204 GB, free: 41.68 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003337/1.308, allocations: 1.01 MB / 0.9214 GB, free: 40.67 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00423/1.313, allocations: 5.689 MB / 0.9269 GB, free: 34.72 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004472/1.317, allocations: 291.4 kB / 0.9272 GB, free: 34.43 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005664/1.318, allocations: 220 kB / 0.9274 GB, free: 34.22 MB / 0.6388 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.003587/1.321, allocations: 2.482 MB / 0.9298 GB, free: 31.73 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001484/1.323, allocations: 0.521 MB / 0.9303 GB, free: 31.2 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006984/1.33, allocations: 5.272 MB / 0.9355 GB, free: 25.89 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/1.33, allocations: 32 kB / 0.9355 GB, free: 25.86 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/1.33, allocations: 7.938 kB / 0.9355 GB, free: 25.85 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004915/1.335, allocations: 4.532 MB / 0.9399 GB, free: 21.21 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01976/1.355, allocations: 11.98 MB / 0.9516 GB, free: 9.102 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/1.355, allocations: 0 / 0.9516 GB, free: 9.102 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002492/1.357, allocations: 0.6476 MB / 0.9523 GB, free: 8.453 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007331/1.358, allocations: 369.3 kB / 0.9526 GB, free: 8.086 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002187/1.358, allocations: 83.95 kB / 0.9527 GB, free: 8.004 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004018/1.362, allocations: 5.619 MB / 0.9582 GB, free: 2.105 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.362, allocations: 3.938 kB / 0.9582 GB, free: 2.102 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01157/1.374, allocations: 7.765 MB / 0.9658 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003787/1.378, allocations: 1.154 MB / 0.9669 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001419/1.379, allocations: 67.98 kB / 0.967 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003505/1.383, allocations: 193.3 kB / 0.9672 GB, free: 8.801 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004593/1.383, allocations: 206.2 kB / 0.9674 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003211/1.383, allocations: 138 kB / 0.9675 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.006428/1.39, allocations: 3.963 MB / 0.9714 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.51e-07/1.39, allocations: 0 / 0.9714 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008105/1.398, allocations: 2.002 MB / 0.9733 GB, free: 2.535 MB / 0.6544 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.01427/1.412, allocations: 8.72 MB / 0.9818 GB, free: 9.742 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008925/1.421, allocations: 5.446 MB / 0.9871 GB, free: 4.246 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/1.421, allocations: 4 kB / 0.9872 GB, free: 4.242 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004018/1.425, allocations: 2.538 MB / 0.9896 GB, free: 1.676 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01768/1.443, allocations: 3.392 MB / 0.9929 GB, free: 14.5 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1001/1.543, allocations: 52.33 MB / 1.044 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00464/1.548, allocations: 4.628 MB / 1.049 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.006395/1.554, allocations: 2.084 MB / 1.051 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004809/1.559, allocations: 2.674 MB / 1.053 GB, free: 14.67 MB / 0.7482 GB Notification: Performance of SimCode: time 1.082e-06/1.559, allocations: 4 kB / 1.053 GB, free: 14.67 MB / 0.7482 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6099/2.169, allocations: 162.5 MB / 1.212 GB, free: 205.7 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.65/23.82, allocations: 14.3 kB / 1.212 GB, free: 205.7 MB / 0.795 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)