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.001426/0.001426, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001602/0.001602, allocations: 174.3 kB / 23.21 MB, free: 1.355 MB / 18.57 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.9228/0.9228, allocations: 177.2 MB / 203.5 MB, free: 5.754 MB / 186.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.7184/0.7184, allocations: 154.5 MB / 414.5 MB, free: 0.8516 MB / 378.7 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 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: 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.383e-06/1.383e-06, allocations: 0 / 0.6193 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.363e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.03361/0.03363, allocations: 51.22 MB / 0.6693 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.3683/0.4019, allocations: 16.79 MB / 0.6857 GB, free: 44.71 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002177/0.4041, allocations: 105.1 kB / 0.6858 GB, free: 44.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.4058, allocations: 0.905 MB / 0.6867 GB, free: 44.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00496/0.4108, allocations: 2.732 MB / 0.6893 GB, free: 44.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002673/0.4134, allocations: 1.69 MB / 0.691 GB, free: 44.25 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01297/0.4264, allocations: 22.15 MB / 0.7126 GB, free: 37.81 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008206/0.4346, allocations: 7.105 MB / 0.7196 GB, free: 34.72 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01849/0.4531, allocations: 10.35 MB / 0.7297 GB, free: 30.66 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01435/0.4674, allocations: 6.317 MB / 0.7358 GB, free: 28.8 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.003411/0.4709, allocations: 0.9385 MB / 0.7367 GB, free: 28.8 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006382/0.4772, allocations: 1.591 MB / 0.7383 GB, free: 28.62 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002459/0.4797, allocations: 2.492 MB / 0.7407 GB, free: 27.21 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.008778/0.4885, allocations: 3.36 MB / 0.744 GB, free: 25.86 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.02067/0.5091, allocations: 13.53 MB / 0.7572 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.839e-06/0.5092, allocations: 0 / 0.7572 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.965e-06/0.5092, allocations: 0 / 0.7572 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000639/0.5098, allocations: 0 / 0.7572 GB, free: 21.62 MB / 0.6355 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.02099/0.5308, allocations: 8.563 MB / 0.7656 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.78e-05/0.5309, allocations: 9.844 kB / 0.7656 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002619/0.5335, allocations: 0.9517 MB / 0.7665 GB, free: 16.14 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009898/0.5434, allocations: 6.786 MB / 0.7732 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002402/0.5436, allocations: 461.3 kB / 0.7736 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006609/0.5443, allocations: 0.5947 MB / 0.7742 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0119/0.5562, allocations: 10.09 MB / 0.784 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.5563, allocations: 27.52 kB / 0.7841 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004292/0.5567, allocations: 262.6 kB / 0.7843 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/0.5568, allocations: 182.7 kB / 0.7845 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009767/0.5666, allocations: 7.452 MB / 0.7918 GB, free: 10.62 MB / 0.6511 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.03442/0.601, allocations: 26.33 MB / 0.8175 GB, free: 0.4922 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003998/0.605, allocations: 3.987 MB / 0.8214 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002879/0.6079, allocations: 3.031 MB / 0.8243 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006523/0.6086, allocations: 208.2 kB / 0.8245 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002936/0.6115, allocations: 3.456 MB / 0.8279 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002022/0.6135, allocations: 317.8 kB / 0.8282 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=317): time 1.086e-05/0.6135, allocations: 0 / 0.8282 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317): time 0.008138/0.6217, allocations: 6.938 MB / 0.835 GB, free: 14.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.6217, allocations: 89.89 kB / 0.8351 GB, free: 14.19 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005494/0.6272, allocations: 4.981 MB / 0.8399 GB, free: 9.203 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002071/0.6274, allocations: 89.7 kB / 0.84 GB, free: 9.109 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002325/0.6298, allocations: 3.262 MB / 0.8432 GB, free: 5.844 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009736/0.6307, allocations: 1.158 MB / 0.8443 GB, free: 4.699 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008976/0.6316, allocations: 0.8546 MB / 0.8452 GB, free: 3.832 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.179e-05/0.6317, allocations: 301.1 kB / 0.8455 GB, free: 3.535 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002331/0.634, allocations: 2.189 MB / 0.8476 GB, free: 1.332 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003019/0.6371, allocations: 3.83 MB / 0.8513 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00548/0.6425, allocations: 6.326 MB / 0.8575 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.416e-05/0.6426, allocations: 16 kB / 0.8575 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0077/0.6503, allocations: 6.753 MB / 0.8641 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.481e-05/0.6503, allocations: 57.69 kB / 0.8642 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.461e-05/0.6504, allocations: 48.09 kB / 0.8642 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006696/0.651, allocations: 434.2 kB / 0.8646 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001938/0.653, allocations: 1.007 MB / 0.8656 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004312/0.6573, allocations: 5.367 MB / 0.8709 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002985/0.6603, allocations: 291.7 kB / 0.8711 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002485/0.6605, allocations: 222.3 kB / 0.8713 GB, free: 7.957 MB / 0.7292 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.004173/0.6647, allocations: 2.488 MB / 0.8738 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008144/0.6655, allocations: 496.9 kB / 0.8742 GB, free: 5.039 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005561/0.6711, allocations: 5.209 MB / 0.8793 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/0.6711, allocations: 32 kB / 0.8794 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.6711, allocations: 4 kB / 0.8794 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00425/0.6754, allocations: 4.527 MB / 0.8838 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/0.6885, allocations: 10.43 MB / 0.894 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.6885, allocations: 0 / 0.894 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/0.6902, allocations: 0.6435 MB / 0.8946 GB, free: 104 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006072/0.6908, allocations: 376.1 kB / 0.895 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001955/0.691, allocations: 87.95 kB / 0.895 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004103/0.6951, allocations: 5.277 MB / 0.9002 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6951, allocations: 3.938 kB / 0.9002 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007997/0.7031, allocations: 7.671 MB / 0.9077 GB, free: 2.43 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002262/0.7054, allocations: 1.081 MB / 0.9088 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004775/0.7059, allocations: 68 kB / 0.9088 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.7073, allocations: 203.6 kB / 0.909 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002928/0.7076, allocations: 206.1 kB / 0.9092 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/0.7078, allocations: 139.9 kB / 0.9093 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003759/0.7115, allocations: 3.388 MB / 0.9127 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7115, allocations: 0 / 0.9127 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.005047/0.7166, allocations: 2.093 MB / 0.9147 GB, free: 11.26 MB / 0.7761 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.0009303/0.7175, allocations: 486.1 kB / 0.9152 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005931/0.7234, allocations: 5.264 MB / 0.9203 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.7234, allocations: 0 / 0.9203 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002376/0.7258, allocations: 2.364 MB / 0.9226 GB, free: 3.109 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007853/0.7337, allocations: 2.768 MB / 0.9253 GB, free: 0.5195 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/0.7507, allocations: 13.71 MB / 0.9387 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002951/0.7537, allocations: 4.067 MB / 0.9427 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00164/0.7553, allocations: 464.3 kB / 0.9431 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of SimCode: time 1.593e-06/0.7553, allocations: 0 / 0.9431 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of Templates: time 0.4911/1.246, allocations: 182.8 MB / 1.122 GB, free: 219.9 MB / 0.8542 GB " [Timeout remaining time 659] 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: 17.63463787548244] Failed to read output from testmodel.py, exit status != 0: 1.253378514200449 1.260379648 0.749457328 Calling exit ...