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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 195.6 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003078/0.003078, allocations: 282.8 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9671/0.9671, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 92.56 kB / 0.5947 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1895, allocations: 86.99 MB / 0.6796 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0459/0.2355, allocations: 48.87 MB / 0.7273 GB, free: 16 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01894/0.2544, allocations: 13.7 MB / 0.7407 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002838/0.2573, allocations: 63.62 kB / 0.7408 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002763/0.2601, allocations: 0.6915 MB / 0.7415 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007057/0.2672, allocations: 2.088 MB / 0.7435 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003753/0.271, allocations: 1.203 MB / 0.7447 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01964/0.2906, allocations: 19.69 MB / 0.7639 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01258/0.3033, allocations: 9.82 MB / 0.7735 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3662/0.6695, allocations: 6.552 MB / 0.7799 GB, free: 19.83 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01038/0.6799, allocations: 5.931 MB / 0.7857 GB, free: 18.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002768/0.6827, allocations: 0.8373 MB / 0.7865 GB, free: 18.92 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006265/0.689, allocations: 1.604 MB / 0.7881 GB, free: 18.92 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003684/0.6927, allocations: 2.092 MB / 0.7901 GB, free: 18.67 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01146/0.7041, allocations: 4.281 MB / 0.7943 GB, free: 17.65 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.02153/0.7257, allocations: 11.92 MB / 0.8059 GB, free: 16.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/0.7257, allocations: 2.781 kB / 0.8059 GB, free: 16.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.053e-06/0.7257, allocations: 0 / 0.8059 GB, free: 16.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0006663/0.7264, allocations: 1.75 kB / 0.8059 GB, free: 16.41 MB / 0.5606 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.02847/0.7549, allocations: 7.721 MB / 0.8135 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.755, allocations: 12.88 kB / 0.8135 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004841/0.7598, allocations: 0.7822 MB / 0.8142 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01246/0.7723, allocations: 6.247 MB / 0.8203 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003095/0.7726, allocations: 418.6 kB / 0.8207 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00203/0.7747, allocations: 0.5429 MB / 0.8213 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02017/0.7948, allocations: 8.076 MB / 0.8292 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002563/0.7951, allocations: 17.16 kB / 0.8292 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001946/0.7971, allocations: 234.4 kB / 0.8294 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001592/0.7973, allocations: 168.8 kB / 0.8296 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01357/0.8109, allocations: 6.528 MB / 0.8359 GB, free: 4.102 MB / 0.5606 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.04986/0.8607, allocations: 31.11 MB / 0.8663 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006532/0.8673, allocations: 3.658 MB / 0.8699 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004564/0.8719, allocations: 2.803 MB / 0.8726 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/0.873, allocations: 0.8249 MB / 0.8734 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.64e-05/0.8731, allocations: 83.8 kB / 0.8735 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=267): time 5.17e-06/0.8731, allocations: 0 / 0.8735 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of matching and sorting (n=267): time 0.01264/0.8857, allocations: 5.758 MB / 0.8791 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.8858, allocations: 81.52 kB / 0.8792 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01126/0.8971, allocations: 5.032 MB / 0.8841 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000901/0.898, allocations: 81.7 kB / 0.8842 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.003225/0.9013, allocations: 2.863 MB / 0.887 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001963/0.9033, allocations: 0.9355 MB / 0.8879 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002497/0.9058, allocations: 0.7113 MB / 0.8886 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.9059, allocations: 309 kB / 0.8889 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003262/0.9092, allocations: 1.674 MB / 0.8905 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004215/0.9134, allocations: 2.937 MB / 0.8934 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007697/0.9211, allocations: 4.965 MB / 0.8983 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.596e-05/0.9212, allocations: 12 kB / 0.8983 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01226/0.9335, allocations: 5.432 MB / 0.9036 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.388e-05/0.9335, allocations: 24 kB / 0.9036 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.838e-05/0.9336, allocations: 36 kB / 0.9036 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.9348, allocations: 431.9 kB / 0.904 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003198/0.938, allocations: 0.8541 MB / 0.9049 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006287/0.9443, allocations: 5.706 MB / 0.9104 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005944/0.9502, allocations: 0.6465 MB / 0.9111 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000854/0.9511, allocations: 176 kB / 0.9112 GB, free: 10.41 MB / 0.6387 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.006062/0.9572, allocations: 2.288 MB / 0.9135 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002494/0.9597, allocations: 490.1 kB / 0.9139 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009742/0.9695, allocations: 4.183 MB / 0.918 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.233e-05/0.9695, allocations: 24 kB / 0.9181 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/0.9695, allocations: 8 kB / 0.9181 GB, free: 3.438 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006215/0.9758, allocations: 3.635 MB / 0.9216 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02694/1.003, allocations: 10.21 MB / 0.9316 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/1.003, allocations: 4 kB / 0.9316 GB, free: 5.438 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00242/1.005, allocations: 0.4981 MB / 0.9321 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/1.006, allocations: 379.6 kB / 0.9324 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004825/1.007, allocations: 75.95 kB / 0.9325 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006035/1.013, allocations: 5.642 MB / 0.938 GB, free: 14.63 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/1.013, allocations: 8.062 kB / 0.938 GB, free: 14.62 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01223/1.025, allocations: 6.239 MB / 0.9441 GB, free: 8.23 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003932/1.029, allocations: 1.08 MB / 0.9452 GB, free: 7.125 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002061/1.031, allocations: 71.48 kB / 0.9452 GB, free: 7.059 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006164/1.037, allocations: 324.8 kB / 0.9456 GB, free: 6.746 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007575/1.038, allocations: 181.1 kB / 0.9457 GB, free: 6.574 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007959/1.039, allocations: 127.9 kB / 0.9459 GB, free: 6.449 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01008/1.049, allocations: 3.687 MB / 0.9495 GB, free: 2.777 MB / 0.67 GB Notification: Performance of sort global known variables: time 6.71e-07/1.049, allocations: 0 / 0.9495 GB, free: 2.777 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01029/1.059, allocations: 1.781 MB / 0.9512 GB, free: 0.9922 MB / 0.67 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.00237/1.062, allocations: 480.8 kB / 0.9516 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01712/1.079, allocations: 8.069 MB / 0.9595 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.517e-05/1.079, allocations: 4 kB / 0.9595 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003822/1.083, allocations: 2.034 MB / 0.9615 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02071/1.104, allocations: 3.456 MB / 0.9649 GB, free: 3.273 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03046/1.134, allocations: 14.91 MB / 0.9795 GB, free: 4.336 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006983/1.141, allocations: 4.303 MB / 0.9837 GB, free: 4 kB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.007215/1.148, allocations: 1.857 MB / 0.9855 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001683/1.15, allocations: 410 kB / 0.9859 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of SimCode: time 1.112e-06/1.15, allocations: 0 / 0.9859 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of Templates: time 0.5308/1.681, allocations: 114.8 MB / 1.098 GB, free: 258.9 MB / 0.7794 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (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)