Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 108.3 kB / 16.4 MB, free: 6.445 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.00132/0.00132, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7366/0.7366, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 66.23 kB / 0.5572 GB, free: 32.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1587, allocations: 76.17 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05386/0.2126, allocations: 49.28 MB / 0.6797 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02096/0.2336, allocations: 13.83 MB / 0.6932 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003218/0.2369, allocations: 67.62 kB / 0.6933 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003026/0.24, allocations: 0.7992 MB / 0.694 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007514/0.2475, allocations: 2.258 MB / 0.6962 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003978/0.2515, allocations: 1.312 MB / 0.6975 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.02249/0.2741, allocations: 19.61 MB / 0.7167 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0121/0.2862, allocations: 9.902 MB / 0.7264 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01412/0.3004, allocations: 6.594 MB / 0.7328 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01113/0.3115, allocations: 5.755 MB / 0.7384 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003198/0.3148, allocations: 0.8476 MB / 0.7392 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00787/0.3227, allocations: 1.6 MB / 0.7408 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004359/0.3271, allocations: 2.119 MB / 0.7429 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.4074/0.7345, allocations: 4.283 MB / 0.7471 GB, free: 24.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0184/0.7529, allocations: 12.07 MB / 0.7588 GB, free: 23.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.7529, allocations: 0 / 0.7588 GB, free: 23.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.914e-06/0.753, allocations: 0.5625 kB / 0.7588 GB, free: 23.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0005037/0.7535, allocations: 0 / 0.7588 GB, free: 23.83 MB / 0.5762 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.02685/0.7803, allocations: 7.741 MB / 0.7664 GB, free: 21.13 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.7804, allocations: 9.656 kB / 0.7664 GB, free: 21.13 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003083/0.7835, allocations: 0.7626 MB / 0.7672 GB, free: 21.06 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004697/0.7882, allocations: 0.7793 MB / 0.7679 GB, free: 20.7 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01834/0.8065, allocations: 6.305 MB / 0.7741 GB, free: 19.76 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006439/0.8072, allocations: 414.7 kB / 0.7745 GB, free: 19.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00419/0.8114, allocations: 0.5509 MB / 0.775 GB, free: 19.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01744/0.8289, allocations: 8.065 MB / 0.7829 GB, free: 18.95 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001328/0.8291, allocations: 21.92 kB / 0.7829 GB, free: 18.95 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007276/0.8298, allocations: 233.6 kB / 0.7831 GB, free: 18.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001486/0.8299, allocations: 163.2 kB / 0.7833 GB, free: 18.95 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01153/0.8415, allocations: 6.527 MB / 0.7897 GB, free: 18.62 MB / 0.5762 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.04713/0.8886, allocations: 31.2 MB / 0.8201 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006257/0.8949, allocations: 3.65 MB / 0.8237 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004215/0.8992, allocations: 2.794 MB / 0.8264 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.9003, allocations: 0.8292 MB / 0.8272 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.523e-05/0.9004, allocations: 72.33 kB / 0.8273 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=267): time 5.721e-06/0.9004, allocations: 0 / 0.8273 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of matching and sorting (n=267): time 0.01177/0.9122, allocations: 5.768 MB / 0.8329 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.9122, allocations: 77.52 kB / 0.833 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009442/0.9217, allocations: 5.235 MB / 0.8381 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0007497/0.9225, allocations: 77.7 kB / 0.8382 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002477/0.9249, allocations: 2.867 MB / 0.841 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001578/0.9265, allocations: 0.9373 MB / 0.8419 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/0.9276, allocations: 0.7164 MB / 0.8426 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.99e-05/0.9277, allocations: 305.1 kB / 0.8429 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002523/0.9303, allocations: 1.674 MB / 0.8445 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003153/0.9334, allocations: 2.93 MB / 0.8474 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005899/0.9393, allocations: 4.972 MB / 0.8522 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.966e-05/0.9394, allocations: 12 kB / 0.8523 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009672/0.949, allocations: 5.436 MB / 0.8576 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.841e-05/0.9491, allocations: 20 kB / 0.8576 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.662e-05/0.9492, allocations: 43.38 kB / 0.8576 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009895/0.9502, allocations: 421.9 kB / 0.858 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002911/0.9531, allocations: 0.8566 MB / 0.8589 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005736/0.9588, allocations: 5.702 MB / 0.8644 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005576/0.9644, allocations: 0.5184 MB / 0.8649 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007401/0.9652, allocations: 180 kB / 0.8651 GB, free: 14.73 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.004849/0.97, allocations: 2.28 MB / 0.8673 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001849/0.9719, allocations: 486.1 kB / 0.8678 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007005/0.9789, allocations: 4.19 MB / 0.8719 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/0.979, allocations: 32 kB / 0.8719 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.979, allocations: 4 kB / 0.8719 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004771/0.9838, allocations: 3.623 MB / 0.8755 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02085/1.005, allocations: 10.27 MB / 0.8855 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/1.005, allocations: 8.062 kB / 0.8855 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002068/1.007, allocations: 0.4984 MB / 0.886 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000816/1.008, allocations: 375.2 kB / 0.8863 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00021/1.008, allocations: 71.97 kB / 0.8864 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005318/1.013, allocations: 5.651 MB / 0.8919 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/1.013, allocations: 12.06 kB / 0.8919 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/1.023, allocations: 6.249 MB / 0.898 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004178/1.027, allocations: 1.096 MB / 0.8991 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001889/1.029, allocations: 67.92 kB / 0.8992 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003917/1.033, allocations: 181.3 kB / 0.8993 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003708/1.034, allocations: 177.3 kB / 0.8995 GB, free: 10.95 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003254/1.034, allocations: 123.9 kB / 0.8996 GB, free: 10.82 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007499/1.042, allocations: 3.835 MB / 0.9034 GB, free: 7.004 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.9e-07/1.042, allocations: 0 / 0.9034 GB, free: 7.004 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.008442/1.05, allocations: 1.804 MB / 0.9051 GB, free: 5.195 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.01143/1.061, allocations: 7.192 MB / 0.9122 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00692/1.068, allocations: 4.277 MB / 0.9163 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/1.068, allocations: 8.062 kB / 0.9164 GB, free: 9.711 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003152/1.072, allocations: 2.031 MB / 0.9183 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02184/1.093, allocations: 3.46 MB / 0.9217 GB, free: 4.352 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1063/1.2, allocations: 46.93 MB / 0.9675 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004981/1.205, allocations: 4.303 MB / 0.9717 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.006531/1.211, allocations: 1.845 MB / 0.9735 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004879/1.216, allocations: 2.458 MB / 0.9759 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of SimCode: time 5.91e-07/1.216, allocations: 0 / 0.9759 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5725/1.789, allocations: 156.5 MB / 1.129 GB, free: 239.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.79/20.58, allocations: 9.406 kB / 1.129 GB, free: 239.3 MB / 0.795 GB (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)