Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001364/0.001364, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001564/0.001564, allocations: 188.2 kB / 22.22 MB, free: 5.105 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.45/1.45, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8577/0.8577, allocations: 134 MB / 440.3 MB, free: 180 kB / 334.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/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: translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 68.64 kB / 0.6107 GB, free: 13.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1822, allocations: 84.72 MB / 0.6935 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.5167/0.699, allocations: 56.93 MB / 0.7491 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02769/0.7267, allocations: 18.12 MB / 0.7668 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004465/0.7311, allocations: 105.4 kB / 0.7669 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003877/0.735, allocations: 0.924 MB / 0.7678 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01209/0.7471, allocations: 2.657 MB / 0.7704 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006258/0.7533, allocations: 1.604 MB / 0.7719 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.03299/0.7863, allocations: 21.79 MB / 0.7932 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01755/0.8039, allocations: 7.137 MB / 0.8002 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0233/0.8272, allocations: 7.343 MB / 0.8073 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01887/0.8461, allocations: 6.696 MB / 0.8139 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.005657/0.8517, allocations: 0.9375 MB / 0.8148 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01323/0.8649, allocations: 1.731 MB / 0.8165 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.007772/0.8727, allocations: 2.433 MB / 0.8189 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01739/0.8901, allocations: 4.709 MB / 0.8235 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.03117/0.9213, allocations: 13.26 MB / 0.8364 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.9213, allocations: 0 / 0.8364 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9213, allocations: 0 / 0.8364 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.00055/0.9218, allocations: 0 / 0.8364 GB, free: 8.543 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.02646/0.9483, allocations: 8.646 MB / 0.8449 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.9484, allocations: 8.031 kB / 0.8449 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004824/0.9532, allocations: 0.8981 MB / 0.8457 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01623/0.9694, allocations: 6.768 MB / 0.8523 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005409/0.9699, allocations: 462.5 kB / 0.8528 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002382/0.9723, allocations: 0.5968 MB / 0.8534 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0241/0.9964, allocations: 9.029 MB / 0.8622 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002683/0.9967, allocations: 23.83 kB / 0.8622 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001819/0.9985, allocations: 259.1 kB / 0.8625 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000245/0.9988, allocations: 183.9 kB / 0.8626 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01858/1.017, allocations: 7.461 MB / 0.8699 GB, free: 5.945 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.06563/1.083, allocations: 35.97 MB / 0.905 GB, free: 208 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008486/1.091, allocations: 4.011 MB / 0.909 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00641/1.098, allocations: 3.036 MB / 0.9119 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/1.099, allocations: 218.9 kB / 0.9121 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005515/1.105, allocations: 2.394 MB / 0.9145 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003821/1.108, allocations: 405 kB / 0.9149 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=317): time 1.781e-05/1.108, allocations: 0 / 0.9149 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of matching and sorting (n=317): time 0.01987/1.128, allocations: 6.998 MB / 0.9217 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.175e-05/1.128, allocations: 81.91 kB / 0.9218 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0135/1.142, allocations: 5.674 MB / 0.9273 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0009464/1.143, allocations: 85.7 kB / 0.9274 GB, free: 9.266 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.005543/1.148, allocations: 3.28 MB / 0.9306 GB, free: 5.98 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002584/1.151, allocations: 1.169 MB / 0.9317 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003571/1.155, allocations: 0.8624 MB / 0.9326 GB, free: 3.949 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001756/1.155, allocations: 305.1 kB / 0.9329 GB, free: 3.648 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004459/1.159, allocations: 2.167 MB / 0.935 GB, free: 1.473 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006061/1.165, allocations: 3.697 MB / 0.9386 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01218/1.177, allocations: 6.323 MB / 0.9448 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.736e-05/1.177, allocations: 16 kB / 0.9448 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01728/1.195, allocations: 6.782 MB / 0.9514 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/1.195, allocations: 53.69 kB / 0.9515 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/1.195, allocations: 52 kB / 0.9515 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/1.196, allocations: 433.7 kB / 0.9519 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004574/1.201, allocations: 1.01 MB / 0.9529 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007563/1.208, allocations: 5.482 MB / 0.9583 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006066/1.214, allocations: 287.7 kB / 0.9585 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001208/1.216, allocations: 216 kB / 0.9587 GB, free: 7.441 MB / 0.7325 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.006875/1.223, allocations: 2.484 MB / 0.9612 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002589/1.225, allocations: 0.5551 MB / 0.9617 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/1.239, allocations: 5.263 MB / 0.9669 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.332e-05/1.239, allocations: 28 kB / 0.9669 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.597e-05/1.239, allocations: 8 kB / 0.9669 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008578/1.248, allocations: 4.526 MB / 0.9713 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03289/1.281, allocations: 12.02 MB / 0.9831 GB, free: 14.33 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/1.281, allocations: 0 / 0.9831 GB, free: 14.33 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003367/1.284, allocations: 0.6438 MB / 0.9837 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/1.285, allocations: 368.1 kB / 0.984 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005458/1.286, allocations: 83.95 kB / 0.9841 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007233/1.293, allocations: 5.399 MB / 0.9894 GB, free: 7.625 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.293, allocations: 11.88 kB / 0.9894 GB, free: 7.613 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01729/1.31, allocations: 7.787 MB / 0.997 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005556/1.316, allocations: 1.151 MB / 0.9981 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002379/1.318, allocations: 63.98 kB / 0.9982 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006071/1.324, allocations: 191.8 kB / 0.9984 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001131/1.326, allocations: 214 kB / 0.9986 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009272/1.326, allocations: 135.9 kB / 0.9987 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.01157/1.338, allocations: 3.971 MB / 1.003 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3e-07/1.338, allocations: 0 / 1.003 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.009794/1.348, allocations: 2.02 MB / 1.005 GB, free: 8.012 MB / 0.7794 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.002273/1.35, allocations: 0.5075 MB / 1.005 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01234/1.362, allocations: 5.234 MB / 1.01 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/1.362, allocations: 4 kB / 1.01 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.005881/1.368, allocations: 2.386 MB / 1.012 GB, free: 15.83 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02129/1.39, allocations: 3.391 MB / 1.016 GB, free: 12.56 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03186/1.421, allocations: 14.17 MB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005515/1.427, allocations: 4.632 MB / 1.034 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.006806/1.434, allocations: 2.074 MB / 1.036 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001872/1.436, allocations: 463.2 kB / 1.037 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of SimCode: time 1.032e-06/1.436, allocations: 0 / 1.037 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of Templates: time 0.8852/2.321, allocations: 120.7 MB / 1.155 GB, free: 225.4 MB / 0.8263 GB " [Timeout remaining time 658] make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.277040150016546] Failed to read output from testmodel.py, exit status != 0: 2.3306984147056937 2.341172568 1.416923891 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f1409c417b0>