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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 109.3 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 221.7 kB / 22.25 MB, free: 3.703 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9745/0.9745, allocations: 230.6 MB / 256 MB, free: 9.793 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8041/0.8041, allocations: 203.8 MB / 0.5042 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 61.34 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.4822, allocations: 102 MB / 0.8178 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04337/0.5255, allocations: 57.28 MB / 0.8738 GB, free: 6.477 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0199/0.5454, allocations: 18.22 MB / 0.8916 GB, free: 7.715 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003157/0.5486, allocations: 105.8 kB / 0.8917 GB, free: 7.66 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002977/0.5516, allocations: 0.9231 MB / 0.8926 GB, free: 6.863 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.00691/0.5585, allocations: 2.675 MB / 0.8952 GB, free: 4.719 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003824/0.5623, allocations: 1.632 MB / 0.8968 GB, free: 3.414 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01681/0.5791, allocations: 21.85 MB / 0.9181 GB, free: 15.09 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00965/0.5888, allocations: 7.092 MB / 0.925 GB, free: 7.875 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01317/0.6019, allocations: 7.545 MB / 0.9324 GB, free: 360 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00893/0.6109, allocations: 6.584 MB / 0.9388 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.002937/0.6138, allocations: 0.9414 MB / 0.9398 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006226/0.62, allocations: 1.768 MB / 0.9415 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.003974/0.624, allocations: 2.441 MB / 0.9439 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.008308/0.6323, allocations: 4.723 MB / 0.9485 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.01511/0.6474, allocations: 13.32 MB / 0.9615 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.6474, allocations: 0 / 0.9615 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.973e-06/0.6474, allocations: 0 / 0.9615 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004512/0.6479, allocations: 0 / 0.9615 GB, free: 2.473 MB / 0.7292 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.01868/0.6666, allocations: 8.646 MB / 0.9699 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.6666, allocations: 12.03 kB / 0.97 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002213/0.6688, allocations: 0.8461 MB / 0.9708 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/0.672, allocations: 0.9488 MB / 0.9717 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01168/0.6837, allocations: 6.79 MB / 0.9783 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002984/0.684, allocations: 468.2 kB / 0.9788 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001669/0.6857, allocations: 0.5859 MB / 0.9794 GB, free: 8 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01659/0.7023, allocations: 9.044 MB / 0.9882 GB, free: 6.641 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001472/0.7024, allocations: 19.83 kB / 0.9882 GB, free: 6.621 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001047/0.7035, allocations: 260 kB / 0.9885 GB, free: 6.367 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001441/0.7036, allocations: 183.9 kB / 0.9886 GB, free: 6.188 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0131/0.7167, allocations: 7.465 MB / 0.9959 GB, free: 14.71 MB / 0.7761 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.0421/0.7588, allocations: 36.01 MB / 1.031 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005193/0.764, allocations: 3.997 MB / 1.035 GB, free: 4.625 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003488/0.7675, allocations: 3.033 MB / 1.038 GB, free: 1.586 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005824/0.7681, allocations: 218.2 kB / 1.038 GB, free: 1.371 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00307/0.7711, allocations: 2.39 MB / 1.04 GB, free: 14.95 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001957/0.7731, allocations: 401 kB / 1.041 GB, free: 14.55 MB / 0.823 GB Notification: Performance of pre-optimization done (n=317): time 8.726e-06/0.7731, allocations: 0 / 1.041 GB, free: 14.55 MB / 0.823 GB Notification: Performance of matching and sorting (n=317): time 0.01001/0.7831, allocations: 6.993 MB / 1.048 GB, free: 7.508 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.7832, allocations: 85.91 kB / 1.048 GB, free: 7.41 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008537/0.7917, allocations: 5.678 MB / 1.053 GB, free: 1.754 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007458/0.7925, allocations: 89.64 kB / 1.053 GB, free: 1.66 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00263/0.7951, allocations: 3.275 MB / 1.057 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001619/0.7967, allocations: 1.17 MB / 1.058 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001201/0.7979, allocations: 0.8624 MB / 1.059 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.975e-05/0.798, allocations: 309.1 kB / 1.059 GB, free: 12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002813/0.8008, allocations: 2.163 MB / 1.061 GB, free: 9.828 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003491/0.8043, allocations: 3.697 MB / 1.065 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006391/0.8107, allocations: 6.323 MB / 1.071 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-05/0.8107, allocations: 12 kB / 1.071 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009983/0.8207, allocations: 6.794 MB / 1.077 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.671e-05/0.8208, allocations: 57.69 kB / 1.077 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.2e-05/0.8208, allocations: 52 kB / 1.078 GB, free: 7.422 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007901/0.8216, allocations: 432.2 kB / 1.078 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002478/0.8241, allocations: 1.014 MB / 1.079 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004519/0.8286, allocations: 5.48 MB / 1.084 GB, free: 284 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003754/0.8324, allocations: 287.8 kB / 1.085 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007898/0.8332, allocations: 219.9 kB / 1.085 GB, free: 15.78 MB / 0.8698 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.004158/0.8373, allocations: 2.48 MB / 1.087 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001469/0.8388, allocations: 0.5512 MB / 1.088 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007088/0.8459, allocations: 5.257 MB / 1.093 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-05/0.8459, allocations: 32 kB / 1.093 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.8459, allocations: 7.984 kB / 1.093 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005076/0.851, allocations: 4.527 MB / 1.097 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02015/0.8711, allocations: 12.02 MB / 1.109 GB, free: 6.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.8711, allocations: 3.984 kB / 1.109 GB, free: 6.586 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/0.8728, allocations: 0.6438 MB / 1.11 GB, free: 5.941 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006854/0.8735, allocations: 376.4 kB / 1.11 GB, free: 5.57 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002599/0.8738, allocations: 83.95 kB / 1.11 GB, free: 5.488 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004101/0.8779, allocations: 5.4 MB / 1.115 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.8779, allocations: 0 / 1.115 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009208/0.8871, allocations: 7.788 MB / 1.123 GB, free: 7.984 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002611/0.8897, allocations: 1.143 MB / 1.124 GB, free: 6.836 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009901/0.8907, allocations: 67.92 kB / 1.124 GB, free: 6.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002291/0.893, allocations: 203.9 kB / 1.124 GB, free: 6.57 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003341/0.8933, allocations: 214 kB / 1.125 GB, free: 6.359 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000266/0.8936, allocations: 139.9 kB / 1.125 GB, free: 6.223 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.005401/0.899, allocations: 3.967 MB / 1.129 GB, free: 2.277 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.899, allocations: 0 / 1.129 GB, free: 2.277 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.006272/0.9052, allocations: 2.035 MB / 1.131 GB, free: 244 kB / 0.9011 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.01133/0.9166, allocations: 8.705 MB / 1.139 GB, free: 7.43 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006898/0.9235, allocations: 5.245 MB / 1.144 GB, free: 2.133 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.9235, allocations: 8.25 kB / 1.144 GB, free: 2.125 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.3634/1.287, allocations: 2.366 MB / 1.147 GB, free: 295 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01143/1.298, allocations: 3.399 MB / 1.15 GB, free: 294.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07782/1.376, allocations: 52.63 MB / 1.201 GB, free: 270.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003063/1.379, allocations: 4.627 MB / 1.206 GB, free: 266.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.005567/1.385, allocations: 2.075 MB / 1.208 GB, free: 264.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003834/1.389, allocations: 2.682 MB / 1.21 GB, free: 262 MB / 0.9167 GB Notification: Performance of SimCode: time 2.134e-06/1.389, allocations: 0 / 1.21 GB, free: 262 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1321/1.521, allocations: 164.3 MB / 1.371 GB, free: 98.68 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/15.06, allocations: 10.81 kB / 1.371 GB, free: 98.67 MB / 0.9167 GB " [Timeout remaining time 645] (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: 18.162700099870563] Failed to read output from testmodel.py, exit status != 0: 15.211754981894046 15.21738801 14.568347392 Calling exit ...