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.001731/0.001731, allocations: 104.4 kB / 16.45 MB, free: 6.504 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.001511/0.001511, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.377/1.377, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] 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.073/1.073, allocations: 175.8 MB / 478.4 MB, free: 8.484 MB / 382.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.001919/0.001919, allocations: 67.67 kB / 0.6652 GB, free: 0.543 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1896, allocations: 94.54 MB / 0.7575 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4404/0.63, allocations: 56.49 MB / 0.8127 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02789/0.6579, allocations: 18.04 MB / 0.8303 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003734/0.6616, allocations: 78.19 kB / 0.8304 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003308/0.6649, allocations: 0.9231 MB / 0.8313 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008869/0.6738, allocations: 2.616 MB / 0.8338 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004696/0.6785, allocations: 1.534 MB / 0.8353 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.02496/0.7034, allocations: 21.28 MB / 0.8561 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01323/0.7167, allocations: 8.871 MB / 0.8648 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01744/0.7341, allocations: 7.419 MB / 0.872 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01232/0.7464, allocations: 6.584 MB / 0.8784 GB, free: 12.38 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.003205/0.7496, allocations: 0.9414 MB / 0.8794 GB, free: 11.44 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007881/0.7575, allocations: 1.721 MB / 0.881 GB, free: 9.719 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.004828/0.7624, allocations: 2.426 MB / 0.8834 GB, free: 7.285 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01164/0.774, allocations: 4.738 MB / 0.888 GB, free: 2.527 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02057/0.7946, allocations: 13.28 MB / 0.901 GB, free: 5.215 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.7946, allocations: 0 / 0.901 GB, free: 5.215 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7946, allocations: 3.938 kB / 0.901 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004756/0.7951, allocations: 0 / 0.901 GB, free: 5.211 MB / 0.6856 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.02232/0.8174, allocations: 8.698 MB / 0.9095 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.8174, allocations: 12.03 kB / 0.9095 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002662/0.8201, allocations: 0.8422 MB / 0.9103 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004169/0.8243, allocations: 0.8941 MB / 0.9112 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0172/0.8415, allocations: 6.77 MB / 0.9178 GB, free: 3.824 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005562/0.842, allocations: 460.2 kB / 0.9183 GB, free: 3.371 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002436/0.8444, allocations: 0.5976 MB / 0.9188 GB, free: 2.773 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02378/0.8682, allocations: 9.036 MB / 0.9277 GB, free: 9.414 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004613/0.8687, allocations: 19.83 kB / 0.9277 GB, free: 9.395 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002328/0.871, allocations: 260 kB / 0.9279 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002145/0.8712, allocations: 183.9 kB / 0.9281 GB, free: 8.961 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01812/0.8894, allocations: 7.465 MB / 0.9354 GB, free: 1.488 MB / 0.7169 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.0649/0.9542, allocations: 36.09 MB / 0.9706 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007673/0.9619, allocations: 4.002 MB / 0.9746 GB, free: 7.336 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005622/0.9675, allocations: 3.043 MB / 0.9775 GB, free: 4.285 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00153/0.9691, allocations: 0.9583 MB / 0.9785 GB, free: 3.141 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004886/0.974, allocations: 2.39 MB / 0.9808 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00289/0.9769, allocations: 397 kB / 0.9812 GB, free: 332 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=317): time 1.314e-05/0.9769, allocations: 0 / 0.9812 GB, free: 332 kB / 0.7637 GB Notification: Performance of matching and sorting (n=317): time 0.01585/0.9927, allocations: 7.147 MB / 0.9882 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.349e-05/0.9928, allocations: 85.91 kB / 0.9882 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01155/1.004, allocations: 5.667 MB / 0.9938 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0008249/1.005, allocations: 89.7 kB / 0.9939 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.004145/1.009, allocations: 3.271 MB / 0.997 GB, free: 15.95 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001992/1.011, allocations: 1.17 MB / 0.9982 GB, free: 14.78 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00271/1.014, allocations: 0.8624 MB / 0.999 GB, free: 13.9 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.014, allocations: 309.1 kB / 0.9993 GB, free: 13.6 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004167/1.018, allocations: 2.163 MB / 1.001 GB, free: 11.43 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005534/1.024, allocations: 3.697 MB / 1.005 GB, free: 7.027 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/1.034, allocations: 6.315 MB / 1.011 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.411e-05/1.034, allocations: 12 kB / 1.011 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01482/1.049, allocations: 6.794 MB / 1.018 GB, free: 9.141 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/1.049, allocations: 57.64 kB / 1.018 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.58e-05/1.049, allocations: 51.94 kB / 1.018 GB, free: 9.027 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/1.05, allocations: 437.4 kB / 1.018 GB, free: 8.598 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00408/1.054, allocations: 1.006 MB / 1.019 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006781/1.061, allocations: 5.701 MB / 1.025 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004966/1.066, allocations: 283.7 kB / 1.025 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009507/1.067, allocations: 223.9 kB / 1.025 GB, free: 1.121 MB / 0.8106 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.005519/1.073, allocations: 2.486 MB / 1.028 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002098/1.075, allocations: 0.5551 MB / 1.028 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/1.086, allocations: 5.255 MB / 1.034 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.3e-05/1.086, allocations: 32 kB / 1.034 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.19e-05/1.086, allocations: 4 kB / 1.034 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007704/1.094, allocations: 4.516 MB / 1.038 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0321/1.126, allocations: 11.97 MB / 1.05 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.899e-05/1.126, allocations: 4 kB / 1.05 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003059/1.129, allocations: 0.6438 MB / 1.05 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009319/1.13, allocations: 368.3 kB / 1.051 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005179/1.131, allocations: 87.95 kB / 1.051 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00628/1.137, allocations: 5.623 MB / 1.056 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.137, allocations: 4 kB / 1.056 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01436/1.151, allocations: 7.776 MB / 1.064 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004132/1.156, allocations: 1.193 MB / 1.065 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001695/1.157, allocations: 63.98 kB / 1.065 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003872/1.161, allocations: 191.9 kB / 1.065 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006157/1.162, allocations: 202.2 kB / 1.065 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005348/1.162, allocations: 139.9 kB / 1.066 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.008554/1.171, allocations: 3.967 MB / 1.069 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/1.171, allocations: 0 / 1.069 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.008149/1.179, allocations: 2.035 MB / 1.071 GB, free: 1.324 MB / 0.8575 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.01729/1.196, allocations: 8.722 MB / 1.08 GB, free: 8.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.009853/1.206, allocations: 5.232 MB / 1.085 GB, free: 3.215 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/1.206, allocations: 7.719 kB / 1.085 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.004438/1.211, allocations: 2.379 MB / 1.087 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.7281/1.939, allocations: 3.375 MB / 1.091 GB, free: 283.3 MB / 0.8732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09703/2.036, allocations: 52.54 MB / 1.142 GB, free: 262 MB / 0.8732 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003874/2.04, allocations: 4.635 MB / 1.146 GB, free: 259.5 MB / 0.8732 GB Notification: Performance of simCode: alias equations: time 0.00625/2.046, allocations: 2.072 MB / 1.149 GB, free: 258.7 MB / 0.8732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004341/2.05, allocations: 2.675 MB / 1.151 GB, free: 256.4 MB / 0.8732 GB Notification: Performance of SimCode: time 1.412e-06/2.05, allocations: 0 / 1.151 GB, free: 256.4 MB / 0.8732 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2053/2.256, allocations: 160.5 MB / 1.308 GB, free: 98.17 MB / 0.8732 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.69/22.94, allocations: 9.578 kB / 1.308 GB, free: 98.16 MB / 0.8732 GB " [Timeout remaining time 637] (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 --stepSize=5.76 --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: 26.989597343374044] Failed to read output from testmodel.py, exit status != 0: 23.113478598650545 23.122693391 22.325696933 Calling exit ...