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.001536/0.001536, allocations: 103.4 kB / 16.27 MB, free: 5.93 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.001749/0.001749, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.327/1.327, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7028/0.7028, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 59.91 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3244, allocations: 77.92 MB / 0.5673 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.03793/0.3624, allocations: 49.28 MB / 0.6154 GB, free: 9.434 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01789/0.3803, allocations: 13.83 MB / 0.6289 GB, free: 11.57 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001913/0.3822, allocations: 67.62 kB / 0.629 GB, free: 11.5 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.384, allocations: 0.7992 MB / 0.6297 GB, free: 10.7 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004731/0.3888, allocations: 2.266 MB / 0.632 GB, free: 8.418 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002641/0.3914, allocations: 1.296 MB / 0.6332 GB, free: 7.137 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01668/0.4081, allocations: 19.58 MB / 0.6523 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01059/0.4188, allocations: 9.91 MB / 0.662 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01218/0.431, allocations: 6.505 MB / 0.6684 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00901/0.44, allocations: 5.755 MB / 0.674 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001669/0.4417, allocations: 0.8438 MB / 0.6748 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004279/0.446, allocations: 1.6 MB / 0.6764 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001869/0.4479, allocations: 2.111 MB / 0.6784 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.005349/0.4532, allocations: 4.299 MB / 0.6826 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.4637, allocations: 11.94 MB / 0.6943 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4637, allocations: 0 / 0.6943 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4637, allocations: 0 / 0.6943 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002232/0.4639, allocations: 0 / 0.6943 GB, free: 8.371 MB / 0.5294 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.01412/0.4781, allocations: 7.733 MB / 0.7019 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.4781, allocations: 12.62 kB / 0.7019 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001005/0.4791, allocations: 0.7642 MB / 0.7026 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002309/0.4814, allocations: 0.7891 MB / 0.7034 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009441/0.4909, allocations: 6.052 MB / 0.7093 GB, free: 8.863 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002679/0.4912, allocations: 419.2 kB / 0.7097 GB, free: 8.453 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007572/0.492, allocations: 0.5351 MB / 0.7102 GB, free: 7.918 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01422/0.5062, allocations: 8.072 MB / 0.7181 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/0.5063, allocations: 19.78 kB / 0.7181 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005959/0.5069, allocations: 235.9 kB / 0.7183 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001525/0.5071, allocations: 168 kB / 0.7185 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01159/0.5187, allocations: 6.52 MB / 0.7249 GB, free: 8.664 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.2709/0.7896, allocations: 31.42 MB / 0.7556 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006791/0.7965, allocations: 3.653 MB / 0.7591 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004385/0.8009, allocations: 2.807 MB / 0.7619 GB, free: 141.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008419/0.8018, allocations: 0.8296 MB / 0.7627 GB, free: 140.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.158e-05/0.8018, allocations: 67.88 kB / 0.7627 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=267): time 4.549e-06/0.8018, allocations: 3.125 kB / 0.7627 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=267): time 0.01351/0.8154, allocations: 5.77 MB / 0.7684 GB, free: 139 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.8155, allocations: 78.52 kB / 0.7685 GB, free: 138.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006858/0.8223, allocations: 5.231 MB / 0.7736 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003597/0.8227, allocations: 79.8 kB / 0.7736 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002494/0.8252, allocations: 2.87 MB / 0.7764 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009244/0.8261, allocations: 0.9387 MB / 0.7774 GB, free: 134.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008441/0.827, allocations: 0.7111 MB / 0.778 GB, free: 134.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.549e-05/0.827, allocations: 306.5 kB / 0.7783 GB, free: 133.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002091/0.8291, allocations: 1.677 MB / 0.78 GB, free: 133 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002519/0.8317, allocations: 2.94 MB / 0.7829 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006278/0.838, allocations: 4.963 MB / 0.7877 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.353e-05/0.838, allocations: 13.84 kB / 0.7877 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008537/0.8465, allocations: 5.432 MB / 0.793 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.8466, allocations: 25.16 kB / 0.793 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.773e-05/0.8466, allocations: 39.05 kB / 0.7931 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008385/0.8475, allocations: 429.4 kB / 0.7935 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002712/0.8502, allocations: 0.8581 MB / 0.7943 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005367/0.8556, allocations: 5.7 MB / 0.7999 GB, free: 118.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003767/0.8594, allocations: 0.5181 MB / 0.8004 GB, free: 117.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/0.8596, allocations: 179.9 kB / 0.8006 GB, free: 117.7 MB / 0.5762 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.002856/0.8625, allocations: 2.282 MB / 0.8028 GB, free: 115.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009684/0.8635, allocations: 486.1 kB / 0.8033 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005332/0.8688, allocations: 4.195 MB / 0.8074 GB, free: 110.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.8688, allocations: 24 kB / 0.8074 GB, free: 110.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.8688, allocations: 4 kB / 0.8074 GB, free: 110.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004002/0.8728, allocations: 3.635 MB / 0.8109 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/0.8862, allocations: 10.29 MB / 0.821 GB, free: 96.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/0.8863, allocations: 4 kB / 0.821 GB, free: 96.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003022/0.8893, allocations: 0.4991 MB / 0.8215 GB, free: 95.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008143/0.8902, allocations: 370.8 kB / 0.8218 GB, free: 95.63 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001585/0.8903, allocations: 79.95 kB / 0.8219 GB, free: 95.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004034/0.8944, allocations: 5.65 MB / 0.8274 GB, free: 89.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.8944, allocations: 11.94 kB / 0.8274 GB, free: 89.63 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007908/0.9023, allocations: 6.241 MB / 0.8335 GB, free: 83.22 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002392/0.9047, allocations: 1.092 MB / 0.8346 GB, free: 82.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006469/0.9054, allocations: 59.98 kB / 0.8346 GB, free: 82.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002437/0.9078, allocations: 176.9 kB / 0.8348 GB, free: 81.87 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002603/0.9081, allocations: 177.6 kB / 0.835 GB, free: 81.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002015/0.9083, allocations: 131.9 kB / 0.8351 GB, free: 81.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005395/0.9137, allocations: 3.835 MB / 0.8389 GB, free: 77.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9137, allocations: 0 / 0.8389 GB, free: 77.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00393/0.9176, allocations: 1.802 MB / 0.8406 GB, free: 75.96 MB / 0.5762 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.009127/0.9268, allocations: 7.185 MB / 0.8476 GB, free: 68.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01455/0.9413, allocations: 8.08 MB / 0.8555 GB, free: 60.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.9414, allocations: 7.062 kB / 0.8555 GB, free: 60.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00221/0.9436, allocations: 2.042 MB / 0.8575 GB, free: 58.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01541/0.959, allocations: 3.47 MB / 0.8609 GB, free: 55.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07191/1.031, allocations: 57.86 MB / 0.9174 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005763/1.037, allocations: 4.315 MB / 0.9216 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006894/1.044, allocations: 1.842 MB / 0.9234 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005228/1.049, allocations: 2.456 MB / 0.9258 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of SimCode: time 9.31e-07/1.049, allocations: 0 / 0.9258 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5373/1.586, allocations: 158.1 MB / 1.08 GB, free: 173.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/14.89, allocations: 10.88 kB / 1.08 GB, free: 173.6 MB / 0.67 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)