Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00146/0.00146, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001437/0.001437, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.396/1.396, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002453/0.002453, allocations: 285.3 kB / 303.6 MB, free: 3.66 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.052/1.052, allocations: 180.9 MB / 0.5268 GB, free: 2.727 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002751/0.002751, allocations: 96.27 kB / 0.7259 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5512/0.554, allocations: 94.16 MB / 0.8178 GB, free: 7.461 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06143/0.6154, allocations: 56.4 MB / 0.8729 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02753/0.6429, allocations: 18.04 MB / 0.8905 GB, free: 428 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003948/0.6469, allocations: 77.16 kB / 0.8906 GB, free: 400 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003669/0.6505, allocations: 0.9271 MB / 0.8915 GB, free: 15.59 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 0.008608/0.6592, allocations: 2.622 MB / 0.8941 GB, free: 13.48 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.004556/0.6637, allocations: 1.531 MB / 0.8956 GB, free: 12.26 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.02447/0.6882, allocations: 21.24 MB / 0.9163 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01344/0.7016, allocations: 8.87 MB / 0.925 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01638/0.718, allocations: 7.248 MB / 0.9321 GB, free: 11.93 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0129/0.7309, allocations: 6.666 MB / 0.9386 GB, free: 5.238 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.003595/0.7345, allocations: 0.9414 MB / 0.9395 GB, free: 4.297 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007868/0.7424, allocations: 1.725 MB / 0.9412 GB, free: 2.57 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.005034/0.7474, allocations: 2.43 MB / 0.9435 GB, free: 136 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01155/0.759, allocations: 4.703 MB / 0.9481 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02195/0.7809, allocations: 13.24 MB / 0.9611 GB, free: 14.13 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.7809, allocations: 4 kB / 0.9611 GB, free: 14.12 MB / 0.7013 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7809, allocations: 0 / 0.9611 GB, free: 14.12 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 0.0005121/0.7814, allocations: 0 / 0.9611 GB, free: 14.12 MB / 0.7013 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.02536/0.8068, allocations: 8.705 MB / 0.9696 GB, free: 5.316 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.8068, allocations: 16.03 kB / 0.9696 GB, free: 5.301 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005064/0.8119, allocations: 0.8942 MB / 0.9705 GB, free: 4.402 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01626/0.8282, allocations: 6.742 MB / 0.977 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006419/0.8288, allocations: 460.4 kB / 0.9775 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002739/0.8315, allocations: 0.6015 MB / 0.9781 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02494/0.8565, allocations: 9.028 MB / 0.9869 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003253/0.8568, allocations: 19.83 kB / 0.9869 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002184/0.859, allocations: 268 kB / 0.9872 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002433/0.8592, allocations: 183.9 kB / 0.9873 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/0.8774, allocations: 7.461 MB / 0.9946 GB, free: 11.27 MB / 0.7325 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.06425/0.9416, allocations: 36.08 MB / 1.03 GB, free: 5.125 MB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007878/0.9495, allocations: 4.016 MB / 1.034 GB, free: 1.109 MB / 0.7638 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005751/0.9553, allocations: 3.024 MB / 1.037 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001586/0.9569, allocations: 0.9582 MB / 1.038 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005042/0.9619, allocations: 2.394 MB / 1.04 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002807/0.9647, allocations: 397.1 kB / 1.04 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=317): time 9.067e-06/0.9647, allocations: 0 / 1.04 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=317): time 0.01603/0.9808, allocations: 7.143 MB / 1.047 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.9808, allocations: 85.91 kB / 1.047 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01186/0.9927, allocations: 5.671 MB / 1.053 GB, free: 13.13 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0008001/0.9935, allocations: 89.7 kB / 1.053 GB, free: 13.04 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.004317/0.9978, allocations: 3.271 MB / 1.056 GB, free: 9.746 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.002017/0.9998, allocations: 1.174 MB / 1.057 GB, free: 8.562 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002809/1.003, allocations: 0.8624 MB / 1.058 GB, free: 7.688 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.003, allocations: 305.1 kB / 1.059 GB, free: 7.387 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004414/1.007, allocations: 2.16 MB / 1.061 GB, free: 5.219 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005807/1.013, allocations: 3.701 MB / 1.064 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/1.023, allocations: 6.319 MB / 1.07 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.078e-05/1.023, allocations: 16 kB / 1.07 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01511/1.038, allocations: 6.79 MB / 1.077 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-05/1.039, allocations: 61.92 kB / 1.077 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.341e-05/1.039, allocations: 48 kB / 1.077 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/1.04, allocations: 433.3 kB / 1.078 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004101/1.044, allocations: 1.002 MB / 1.079 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006617/1.05, allocations: 5.708 MB / 1.084 GB, free: 11.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004929/1.055, allocations: 287.7 kB / 1.084 GB, free: 11.12 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009112/1.056, allocations: 216 kB / 1.085 GB, free: 10.91 MB / 0.8263 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.005257/1.062, allocations: 2.479 MB / 1.087 GB, free: 8.414 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001945/1.064, allocations: 0.5551 MB / 1.088 GB, free: 7.855 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/1.075, allocations: 5.257 MB / 1.093 GB, free: 2.551 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.435e-05/1.075, allocations: 28 kB / 1.093 GB, free: 2.523 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/1.075, allocations: 4 kB / 1.093 GB, free: 2.52 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007589/1.082, allocations: 4.52 MB / 1.097 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02758/1.11, allocations: 11.97 MB / 1.109 GB, free: 1.773 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/1.11, allocations: 3.938 kB / 1.109 GB, free: 1.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003096/1.113, allocations: 0.6438 MB / 1.109 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009398/1.114, allocations: 384.1 kB / 1.11 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004268/1.114, allocations: 83.95 kB / 1.11 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006382/1.121, allocations: 5.608 MB / 1.115 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.121, allocations: 0 / 1.115 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01484/1.136, allocations: 7.776 MB / 1.123 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003439/1.139, allocations: 1.181 MB / 1.124 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001518/1.141, allocations: 71.92 kB / 1.124 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00397/1.145, allocations: 203.9 kB / 1.124 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000651/1.145, allocations: 202.2 kB / 1.125 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005731/1.146, allocations: 135.9 kB / 1.125 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.008352/1.154, allocations: 3.959 MB / 1.129 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.61e-07/1.154, allocations: 0 / 1.129 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.008903/1.163, allocations: 2.031 MB / 1.131 GB, free: 11.13 MB / 0.8731 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.002235/1.165, allocations: 0.4976 MB / 1.131 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01197/1.177, allocations: 5.234 MB / 1.136 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/1.177, allocations: 4 kB / 1.136 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.005736/1.183, allocations: 2.373 MB / 1.139 GB, free: 2.945 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.374/1.557, allocations: 3.378 MB / 1.142 GB, free: 277.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02175/1.579, allocations: 14.14 MB / 1.156 GB, free: 272.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005415/1.584, allocations: 4.552 MB / 1.16 GB, free: 271.1 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002155/1.586, allocations: 493.8 kB / 1.161 GB, free: 271.1 MB / 0.8731 GB Notification: Performance of SimCode: time 1.192e-06/1.586, allocations: 0 / 1.161 GB, free: 271.1 MB / 0.8731 GB Notification: Performance of Templates: time 0.2014/1.788, allocations: 188.6 MB / 1.345 GB, free: 109.1 MB / 0.8731 GB " [Timeout remaining time 658] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 25.547013586154208] Failed to read output from testmodel.py, exit status != 0: 1.796868704026565 1.805026673 1.021761291 Calling exit ...