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.001362/0.001362, allocations: 80.83 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001606/0.001606, allocations: 165.3 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.5/1.5, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 1.201/1.201, allocations: 154.6 MB / 413.7 MB, free: 5.297 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] 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: translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.6185 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.976e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06027/0.0603, allocations: 51.24 MB / 0.6686 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02839/0.08869, allocations: 16.78 MB / 0.6849 GB, free: 432 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003218/0.09191, allocations: 103.2 kB / 0.685 GB, free: 328 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003574/0.09549, allocations: 0.9116 MB / 0.6859 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009838/0.1053, allocations: 2.734 MB / 0.6886 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006355/0.1117, allocations: 1.689 MB / 0.6903 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.4879/0.5996, allocations: 22.14 MB / 0.7119 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01316/0.6128, allocations: 7.1 MB / 0.7188 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03087/0.6436, allocations: 10.37 MB / 0.7289 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0146/0.6582, allocations: 6.311 MB / 0.7351 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004308/0.6625, allocations: 0.9391 MB / 0.736 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01126/0.6738, allocations: 1.594 MB / 0.7376 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00621/0.68, allocations: 2.496 MB / 0.74 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01114/0.6911, allocations: 3.359 MB / 0.7433 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01879/0.7099, allocations: 13.52 MB / 0.7565 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.7099, allocations: 4 kB / 0.7565 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7099, allocations: 0 / 0.7565 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0005113/0.7104, allocations: 0 / 0.7565 GB, free: 4.852 MB / 0.6075 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.02604/0.7365, allocations: 8.604 MB / 0.7649 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.7365, allocations: 10.09 kB / 0.7649 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006864/0.7434, allocations: 0.9492 MB / 0.7658 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01712/0.7605, allocations: 6.783 MB / 0.7725 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004529/0.761, allocations: 464.4 kB / 0.7729 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002201/0.7632, allocations: 0.5973 MB / 0.7735 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02348/0.7867, allocations: 10.1 MB / 0.7833 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003008/0.787, allocations: 22.45 kB / 0.7834 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001915/0.7889, allocations: 261.9 kB / 0.7836 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002127/0.7891, allocations: 179.2 kB / 0.7838 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01825/0.8073, allocations: 7.455 MB / 0.7911 GB, free: 9.867 MB / 0.6387 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.05507/0.8624, allocations: 26.32 MB / 0.8168 GB, free: 15.74 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006545/0.869, allocations: 3.973 MB / 0.8206 GB, free: 11.8 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004832/0.8738, allocations: 3.043 MB / 0.8236 GB, free: 8.766 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009823/0.8748, allocations: 196.5 kB / 0.8238 GB, free: 8.574 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00475/0.8795, allocations: 3.463 MB / 0.8272 GB, free: 4.82 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002317/0.8818, allocations: 321.8 kB / 0.8275 GB, free: 4.504 MB / 0.67 GB Notification: Performance of pre-optimization done (n=317): time 6.542e-06/0.8818, allocations: 0 / 0.8275 GB, free: 4.504 MB / 0.67 GB Notification: Performance of matching and sorting (n=317): time 0.01366/0.8955, allocations: 6.948 MB / 0.8343 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.725e-05/0.8956, allocations: 85.91 kB / 0.8344 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008859/0.9044, allocations: 4.969 MB / 0.8392 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0009223/0.9054, allocations: 89.7 kB / 0.8393 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.003716/0.9091, allocations: 3.277 MB / 0.8425 GB, free: 5.082 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001804/0.9109, allocations: 1.155 MB / 0.8436 GB, free: 3.941 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001476/0.9123, allocations: 0.8507 MB / 0.8445 GB, free: 3.078 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.9125, allocations: 305.1 kB / 0.8447 GB, free: 2.777 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003859/0.9163, allocations: 2.192 MB / 0.8469 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005087/0.9214, allocations: 3.82 MB / 0.8506 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009499/0.9309, allocations: 6.331 MB / 0.8568 GB, free: 5.195 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.667e-05/0.931, allocations: 16 kB / 0.8568 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01248/0.9435, allocations: 6.754 MB / 0.8634 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.142e-05/0.9435, allocations: 50.64 kB / 0.8635 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.199e-05/0.9436, allocations: 52 kB / 0.8635 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.9446, allocations: 429.3 kB / 0.8639 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003692/0.9483, allocations: 1.01 MB / 0.8649 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00638/0.9547, allocations: 5.364 MB / 0.8701 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004806/0.9595, allocations: 287.6 kB / 0.8704 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005519/0.9601, allocations: 227.2 kB / 0.8706 GB, free: 7.195 MB / 0.7169 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.004711/0.9648, allocations: 2.48 MB / 0.8731 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001593/0.9664, allocations: 0.493 MB / 0.8735 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009964/0.9763, allocations: 5.204 MB / 0.8786 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.813e-05/0.9764, allocations: 32 kB / 0.8786 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.9764, allocations: 4 kB / 0.8787 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006947/0.9833, allocations: 4.527 MB / 0.8831 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02312/1.006, allocations: 10.45 MB / 0.8933 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/1.006, allocations: 0 / 0.8933 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002932/1.009, allocations: 0.6437 MB / 0.8939 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009688/1.01, allocations: 371.6 kB / 0.8943 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000281/1.011, allocations: 79.95 kB / 0.8943 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006089/1.017, allocations: 5.274 MB / 0.8995 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/1.017, allocations: 7.781 kB / 0.8995 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0144/1.031, allocations: 7.673 MB / 0.907 GB, free: 1.688 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00453/1.036, allocations: 1.078 MB / 0.908 GB, free: 0.6094 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001339/1.037, allocations: 71.92 kB / 0.9081 GB, free: 0.5391 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003347/1.04, allocations: 187.9 kB / 0.9083 GB, free: 364 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005437/1.041, allocations: 217.3 kB / 0.9085 GB, free: 148 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003387/1.041, allocations: 139.9 kB / 0.9086 GB, free: 8 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.006281/1.048, allocations: 3.384 MB / 0.9119 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.3e-07/1.048, allocations: 0 / 0.9119 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.008545/1.056, allocations: 2.097 MB / 0.914 GB, free: 10.53 MB / 0.7637 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.001589/1.058, allocations: 487 kB / 0.9144 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01028/1.068, allocations: 5.273 MB / 0.9196 GB, free: 4.949 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/1.068, allocations: 8.062 kB / 0.9196 GB, free: 4.941 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004562/1.073, allocations: 2.362 MB / 0.9219 GB, free: 2.605 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01507/1.088, allocations: 2.761 MB / 0.9246 GB, free: 20 kB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02855/1.116, allocations: 13.66 MB / 0.9379 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005687/1.122, allocations: 4.142 MB / 0.942 GB, free: 14.14 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.007144/1.129, allocations: 1.881 MB / 0.9438 GB, free: 12.29 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001925/1.131, allocations: 428.3 kB / 0.9442 GB, free: 11.87 MB / 0.795 GB Notification: Performance of SimCode: time 2.595e-06/1.131, allocations: 7.375 kB / 0.9442 GB, free: 11.86 MB / 0.795 GB Notification: Performance of Templates: time 0.5442/1.675, allocations: 102.1 MB / 1.044 GB, free: 303.2 MB / 0.8575 GB " [Timeout remaining time 658] make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.505290299654007] Failed to read output from testmodel.py, exit status != 0: 1.6849850453436375 1.697085467 0.984192573 Calling exit ...