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) [Timeout 180] "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.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 175.7 MB / 480.1 MB, free: 2.762 MB / 366.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 74.88 kB / 0.6678 GB, free: 10.9 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1669, allocations: 94.53 MB / 0.7601 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05606/0.2229, allocations: 57.01 MB / 0.8157 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02353/0.2465, allocations: 18.16 MB / 0.8335 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002327/0.2488, allocations: 71.62 kB / 0.8335 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00231/0.2511, allocations: 0.9314 MB / 0.8345 GB, free: 4.379 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006594/0.2577, allocations: 2.616 MB / 0.837 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00355/0.2613, allocations: 1.551 MB / 0.8385 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.3453/0.6065, allocations: 21.31 MB / 0.8593 GB, free: 6.387 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01019/0.6167, allocations: 7.084 MB / 0.8663 GB, free: 21.8 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01429/0.631, allocations: 7.437 MB / 0.8735 GB, free: 20.95 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009821/0.6408, allocations: 6.582 MB / 0.8799 GB, free: 18.6 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001629/0.6425, allocations: 0.9393 MB / 0.8809 GB, free: 18.6 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005284/0.6477, allocations: 1.721 MB / 0.8825 GB, free: 18.36 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002111/0.6499, allocations: 2.435 MB / 0.8849 GB, free: 16.9 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00861/0.6585, allocations: 4.726 MB / 0.8895 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01263/0.6711, allocations: 13.28 MB / 0.9025 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.6711, allocations: 4 kB / 0.9025 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6711, allocations: 0 / 0.9025 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000239/0.6713, allocations: 3.656 kB / 0.9025 GB, free: 7.008 MB / 0.6544 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.01569/0.687, allocations: 8.704 MB / 0.911 GB, free: 14.36 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.6871, allocations: 12.03 kB / 0.911 GB, free: 14.34 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00115/0.6882, allocations: 0.8379 MB / 0.9118 GB, free: 13.5 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002378/0.6906, allocations: 0.8942 MB / 0.9127 GB, free: 12.6 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/0.7014, allocations: 6.751 MB / 0.9193 GB, free: 5.926 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003302/0.7017, allocations: 467.9 kB / 0.9198 GB, free: 5.469 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009696/0.7027, allocations: 0.5976 MB / 0.9203 GB, free: 4.871 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01521/0.7179, allocations: 9.038 MB / 0.9292 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/0.718, allocations: 15.88 kB / 0.9292 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000739/0.7187, allocations: 263.2 kB / 0.9294 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001716/0.7189, allocations: 183.9 kB / 0.9296 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01318/0.7321, allocations: 7.465 MB / 0.9369 GB, free: 3.598 MB / 0.6856 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.04682/0.7789, allocations: 36.12 MB / 0.9722 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006399/0.7853, allocations: 3.995 MB / 0.9761 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004554/0.7899, allocations: 3.04 MB / 0.979 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/0.7913, allocations: 0.9513 MB / 0.98 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003922/0.7952, allocations: 2.394 MB / 0.9823 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002259/0.7975, allocations: 398.6 kB / 0.9827 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=317): time 5.059e-06/0.7975, allocations: 0 / 0.9827 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317): time 0.01274/0.8102, allocations: 7.137 MB / 0.9897 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/0.8103, allocations: 91.45 kB / 0.9897 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008492/0.8188, allocations: 5.67 MB / 0.9953 GB, free: 5.809 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0005773/0.8194, allocations: 93.7 kB / 0.9954 GB, free: 5.711 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.003297/0.8227, allocations: 3.269 MB / 0.9986 GB, free: 2.434 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001488/0.8242, allocations: 1.171 MB / 0.9997 GB, free: 1.281 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001232/0.8254, allocations: 0.8624 MB / 1.001 GB, free: 416 kB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.8255, allocations: 309.1 kB / 1.001 GB, free: 104 kB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003321/0.8288, allocations: 2.167 MB / 1.003 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004423/0.8333, allocations: 3.689 MB / 1.007 GB, free: 9.543 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008508/0.8418, allocations: 6.327 MB / 1.013 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-05/0.8418, allocations: 12 kB / 1.013 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01218/0.854, allocations: 6.786 MB / 1.019 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.752e-05/0.8541, allocations: 55.27 kB / 1.019 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-05/0.8541, allocations: 48 kB / 1.019 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009919/0.8551, allocations: 441.7 kB / 1.02 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003427/0.8585, allocations: 1.006 MB / 1.021 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006086/0.8646, allocations: 5.708 MB / 1.026 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004268/0.8689, allocations: 291.7 kB / 1.027 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003838/0.8693, allocations: 220 kB / 1.027 GB, free: 3.652 MB / 0.7794 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.004034/0.8733, allocations: 2.479 MB / 1.029 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/0.8745, allocations: 0.5473 MB / 1.03 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008574/0.883, allocations: 5.262 MB / 1.035 GB, free: 11.32 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-05/0.8831, allocations: 32 kB / 1.035 GB, free: 11.29 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.8831, allocations: 4 kB / 1.035 GB, free: 11.29 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006592/0.8897, allocations: 4.522 MB / 1.039 GB, free: 6.664 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01972/0.9094, allocations: 11.97 MB / 1.051 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.9094, allocations: 4 kB / 1.051 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00272/0.9121, allocations: 0.6438 MB / 1.052 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007982/0.9129, allocations: 372.3 kB / 1.052 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002321/0.9132, allocations: 83.95 kB / 1.052 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005751/0.9189, allocations: 5.618 MB / 1.058 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.9189, allocations: 7.938 kB / 1.058 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01156/0.9305, allocations: 7.784 MB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002617/0.9331, allocations: 1.188 MB / 1.066 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009602/0.9341, allocations: 63.98 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002967/0.937, allocations: 201.6 kB / 1.067 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003908/0.9374, allocations: 202.2 kB / 1.067 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002935/0.9377, allocations: 131.9 kB / 1.067 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.006409/0.9441, allocations: 3.967 MB / 1.071 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9441, allocations: 0 / 1.071 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.005897/0.95, allocations: 2.027 MB / 1.073 GB, free: 4 MB / 0.8262 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.0134/0.9634, allocations: 8.73 MB / 1.081 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.008911/0.9723, allocations: 5.239 MB / 1.087 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.9723, allocations: 0 / 1.087 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.003892/0.9762, allocations: 2.382 MB / 1.089 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01497/0.9912, allocations: 3.388 MB / 1.092 GB, free: 224 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08569/1.077, allocations: 52.62 MB / 1.144 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005396/1.082, allocations: 4.632 MB / 1.148 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.005737/1.088, allocations: 2.077 MB / 1.15 GB, free: 2.816 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004288/1.092, allocations: 2.67 MB / 1.153 GB, free: 152 kB / 0.9044 GB Notification: Performance of SimCode: time 1.593e-06/1.092, allocations: 4 kB / 1.153 GB, free: 148 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5105/1.603, allocations: 161.1 MB / 1.31 GB, free: 259.4 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.26/20.86, allocations: 5.719 kB / 1.31 GB, free: 259.4 MB / 0.9356 GB " [Timeout remaining time 639] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.56535229299334]