Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.000815/0.000815, allocations: 72.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.0007934/0.0007934, allocations: 178.2 kB / 23.21 MB, free: 1.352 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.8888/0.8888, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001384/0.001384, allocations: 241.9 kB / 260.2 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6774/0.6774, allocations: 138.4 MB / 455.1 MB, free: 30.03 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.6475 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.25e-05, allocations: 9.234 kB / 0.6475 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.276/0.276, allocations: 45.03 MB / 0.6915 GB, free: 28.23 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01272/0.2887, allocations: 12.93 MB / 0.7041 GB, free: 19.41 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002081/0.2908, allocations: 95.75 kB / 0.7042 GB, free: 19.36 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.2925, allocations: 0.8136 MB / 0.705 GB, free: 18.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004625/0.2971, allocations: 2.464 MB / 0.7074 GB, free: 17.4 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.2995, allocations: 1.409 MB / 0.7088 GB, free: 16.63 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01182/0.3113, allocations: 20.47 MB / 0.7288 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006307/0.3176, allocations: 6.491 MB / 0.7351 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01669/0.3343, allocations: 9.202 MB / 0.7441 GB, free: 8.078 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01129/0.3456, allocations: 5.809 MB / 0.7498 GB, free: 2.254 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.001795/0.3474, allocations: 0.8438 MB / 0.7506 GB, free: 1.41 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005144/0.3526, allocations: 1.502 MB / 0.752 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.002023/0.3546, allocations: 2.258 MB / 0.7542 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.005285/0.3599, allocations: 3.033 MB / 0.7572 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.3704, allocations: 12.3 MB / 0.7692 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3704, allocations: 0 / 0.7692 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3704, allocations: 0 / 0.7692 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002872/0.3707, allocations: 0 / 0.7692 GB, free: 14.27 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01107/0.3817, allocations: 7.783 MB / 0.7768 GB, free: 6.422 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3818, allocations: 13.94 kB / 0.7768 GB, free: 6.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.3835, allocations: 0.8867 MB / 0.7777 GB, free: 5.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006753/0.3902, allocations: 6.367 MB / 0.7839 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.3904, allocations: 411.4 kB / 0.7843 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005062/0.3909, allocations: 0.547 MB / 0.7848 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009006/0.3999, allocations: 9.135 MB / 0.7938 GB, free: 4.484 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.252e-05/0.4, allocations: 23.2 kB / 0.7938 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003571/0.4003, allocations: 240.9 kB / 0.794 GB, free: 4.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.092e-05/0.4004, allocations: 163.9 kB / 0.7942 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007508/0.4079, allocations: 6.512 MB / 0.8005 GB, free: 13.55 MB / 0.6355 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.02239/0.4303, allocations: 22.44 MB / 0.8224 GB, free: 6.738 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003242/0.4336, allocations: 3.424 MB / 0.8258 GB, free: 3.324 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00228/0.4359, allocations: 2.585 MB / 0.8283 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003641/0.4362, allocations: 146 kB / 0.8285 GB, free: 0.5859 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.219e-05/0.4363, allocations: 64.67 kB / 0.8285 GB, free: 0.5117 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=267): time 4.408e-06/0.4363, allocations: 4 kB / 0.8285 GB, free: 0.5078 MB / 0.6511 GB Notification: Performance of matching and sorting (n=267): time 0.006654/0.4429, allocations: 5.564 MB / 0.834 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.443, allocations: 77.52 kB / 0.834 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004015/0.447, allocations: 4.555 MB / 0.8385 GB, free: 6.215 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000192/0.4472, allocations: 77.7 kB / 0.8385 GB, free: 6.133 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001459/0.4486, allocations: 2.922 MB / 0.8414 GB, free: 3.188 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006913/0.4493, allocations: 0.9684 MB / 0.8423 GB, free: 2.211 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000638/0.45, allocations: 0.7117 MB / 0.843 GB, free: 1.492 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.39e-05/0.45, allocations: 305.1 kB / 0.8433 GB, free: 1.191 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/0.4516, allocations: 1.674 MB / 0.845 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002242/0.4538, allocations: 3.036 MB / 0.8479 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00424/0.4581, allocations: 4.966 MB / 0.8528 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.897e-05/0.4581, allocations: 16 kB / 0.8528 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.005714/0.4638, allocations: 5.389 MB / 0.8581 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.4638, allocations: 27.94 kB / 0.8581 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.224e-05/0.4639, allocations: 43.98 kB / 0.8581 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006108/0.4645, allocations: 418 kB / 0.8585 GB, free: 408 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/0.4663, allocations: 0.8581 MB / 0.8594 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003718/0.47, allocations: 5.355 MB / 0.8646 GB, free: 9.984 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/0.4723, allocations: 472.9 kB / 0.865 GB, free: 9.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/0.4725, allocations: 176 kB / 0.8652 GB, free: 9.348 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (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 (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * 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.003271/0.4758, allocations: 2.292 MB / 0.8675 GB, free: 7.043 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007974/0.4766, allocations: 446.6 kB / 0.8679 GB, free: 6.605 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004215/0.4808, allocations: 4.124 MB / 0.8719 GB, free: 2.434 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.4808, allocations: 28 kB / 0.8719 GB, free: 2.406 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.4808, allocations: 11.92 kB / 0.8719 GB, free: 2.395 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003544/0.4844, allocations: 3.624 MB / 0.8755 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.495, allocations: 8.877 MB / 0.8842 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.495, allocations: 4 kB / 0.8842 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.4961, allocations: 0.4954 MB / 0.8846 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005232/0.4967, allocations: 373.5 kB / 0.885 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/0.4968, allocations: 79.89 kB / 0.8851 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003929/0.5007, allocations: 5.304 MB / 0.8903 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.5007, allocations: 11.94 kB / 0.8903 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006461/0.5072, allocations: 6.176 MB / 0.8963 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001753/0.5089, allocations: 0.9867 MB / 0.8973 GB, free: 7.828 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000358/0.5093, allocations: 63.98 kB / 0.8973 GB, free: 7.766 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.5105, allocations: 175.5 kB / 0.8975 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/0.5107, allocations: 185.5 kB / 0.8977 GB, free: 7.418 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/0.5108, allocations: 127.9 kB / 0.8978 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003084/0.5139, allocations: 3.116 MB / 0.9008 GB, free: 4.172 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5139, allocations: 0 / 0.9008 GB, free: 4.172 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003691/0.5176, allocations: 1.89 MB / 0.9027 GB, free: 2.277 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0006689/0.5183, allocations: 481.3 kB / 0.9031 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00431/0.5226, allocations: 4.126 MB / 0.9072 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.5226, allocations: 3.781 kB / 0.9072 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001939/0.5245, allocations: 1.925 MB / 0.909 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005581/0.5301, allocations: 2.619 MB / 0.9116 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/0.5434, allocations: 12.27 MB / 0.9236 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002567/0.5459, allocations: 3.745 MB / 0.9272 GB, free: 9.023 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/0.5472, allocations: 404.3 kB / 0.9276 GB, free: 8.629 MB / 0.7605 GB Notification: Performance of SimCode: time 1.733e-06/0.5472, allocations: 0 / 0.9276 GB, free: 8.629 MB / 0.7605 GB Notification: Performance of Templates: time 0.3682/0.9155, allocations: 166.5 MB / 1.09 GB, free: 121 MB / 0.7605 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.981128278188407] Failed to read output from testmodel.py, exit status != 0: 0.9213709784671664 0.927458446 0.555568894 Calling exit ...