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.006975/0.006975, allocations: 101.1 kB / 15.88 MB, free: 6.312 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.001805/0.001805, allocations: 194.5 kB / 16.79 MB, free: 6.242 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.302/1.302, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6709/0.6709, allocations: 115.3 MB / 406 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 75.38 kB / 493 MB, free: 6.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1189, allocations: 76.17 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.2459/0.3649, allocations: 48.97 MB / 0.6037 GB, free: 7.199 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01544/0.3804, allocations: 13.81 MB / 0.6171 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00188/0.3823, allocations: 61.69 kB / 0.6172 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.3842, allocations: 0.6617 MB / 0.6178 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005091/0.3894, allocations: 2.084 MB / 0.6199 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002772/0.3921, allocations: 1.189 MB / 0.621 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02005/0.4122, allocations: 25.65 MB / 0.6461 GB, free: 10.75 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008415/0.4206, allocations: 8.087 MB / 0.654 GB, free: 2.543 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007165/0.4278, allocations: 4.992 MB / 0.6589 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006469/0.4343, allocations: 5.601 MB / 0.6643 GB, free: 7.906 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008092/0.4351, allocations: 424 kB / 0.6647 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003317/0.4385, allocations: 1.104 MB / 0.6658 GB, free: 6.387 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001491/0.44, allocations: 1.615 MB / 0.6674 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004191/0.4442, allocations: 3.76 MB / 0.6711 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009348/0.4535, allocations: 11.58 MB / 0.6824 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.4535, allocations: 0 / 0.6824 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4536, allocations: 4 kB / 0.6824 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001518/0.4537, allocations: 0 / 0.6824 GB, free: 5.375 MB / 0.4981 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.01169/0.4654, allocations: 7.712 MB / 0.6899 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.4655, allocations: 15.97 kB / 0.6899 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009354/0.4664, allocations: 0.7719 MB / 0.6907 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/0.4685, allocations: 0.7852 MB / 0.6914 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008883/0.4774, allocations: 6.242 MB / 0.6975 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002476/0.4777, allocations: 411.4 kB / 0.6979 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000707/0.4784, allocations: 0.5428 MB / 0.6985 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/0.4899, allocations: 8.072 MB / 0.7063 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.59e-05/0.49, allocations: 19.78 kB / 0.7064 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005136/0.4905, allocations: 232 kB / 0.7066 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/0.4906, allocations: 171.9 kB / 0.7067 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009765/0.5004, allocations: 6.528 MB / 0.7131 GB, free: 5.48 MB / 0.5294 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.03152/0.5319, allocations: 31.12 MB / 0.7435 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00494/0.5369, allocations: 3.646 MB / 0.7471 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003551/0.5405, allocations: 2.808 MB / 0.7498 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008883/0.5414, allocations: 0.828 MB / 0.7506 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/0.5414, allocations: 68.67 kB / 0.7507 GB, free: 13 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=267): time 4.268e-06/0.5414, allocations: 0 / 0.7507 GB, free: 13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=267): time 0.009749/0.5512, allocations: 5.759 MB / 0.7563 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.5512, allocations: 77.52 kB / 0.7564 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006048/0.5573, allocations: 5.032 MB / 0.7613 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002385/0.5576, allocations: 81.7 kB / 0.7614 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002081/0.5596, allocations: 2.868 MB / 0.7642 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000861/0.5605, allocations: 0.9397 MB / 0.7651 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009512/0.5615, allocations: 0.7152 MB / 0.7658 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.847e-05/0.5616, allocations: 305.1 kB / 0.7661 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002405/0.564, allocations: 1.678 MB / 0.7677 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003124/0.5671, allocations: 2.94 MB / 0.7706 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005826/0.5729, allocations: 4.962 MB / 0.7754 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-05/0.573, allocations: 16 kB / 0.7755 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008048/0.581, allocations: 5.438 MB / 0.7808 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.5811, allocations: 20 kB / 0.7808 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.536e-05/0.5811, allocations: 44.12 kB / 0.7808 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009105/0.582, allocations: 418.3 kB / 0.7812 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002894/0.585, allocations: 0.858 MB / 0.7821 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005184/0.5901, allocations: 5.267 MB / 0.7872 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003631/0.5938, allocations: 0.6433 MB / 0.7878 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000288/0.5941, allocations: 180 kB / 0.788 GB, free: 5.121 MB / 0.6075 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.003097/0.5972, allocations: 2.288 MB / 0.7902 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009228/0.5981, allocations: 486.1 kB / 0.7907 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006367/0.6045, allocations: 4.18 MB / 0.7948 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/0.6045, allocations: 27.98 kB / 0.7948 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.6046, allocations: 7.938 kB / 0.7948 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004939/0.6095, allocations: 3.628 MB / 0.7984 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01558/0.6251, allocations: 10.2 MB / 0.8083 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.6251, allocations: 4.562 kB / 0.8083 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002125/0.6273, allocations: 0.507 MB / 0.8088 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008137/0.6281, allocations: 373.3 kB / 0.8092 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002135/0.6283, allocations: 75.97 kB / 0.8093 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005074/0.6334, allocations: 5.211 MB / 0.8143 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.6334, allocations: 15.88 kB / 0.8144 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008682/0.6421, allocations: 6.235 MB / 0.8204 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002138/0.6442, allocations: 1.076 MB / 0.8215 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008313/0.6451, allocations: 63.92 kB / 0.8216 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003161/0.6483, allocations: 339 kB / 0.8219 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003197/0.6486, allocations: 169.6 kB / 0.822 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002638/0.6489, allocations: 131.9 kB / 0.8222 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.2031/0.852, allocations: 3.686 MB / 0.8258 GB, free: 213 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6.21e-07/0.852, allocations: 0 / 0.8258 GB, free: 213 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005405/0.8574, allocations: 1.785 MB / 0.8275 GB, free: 213 MB / 0.6387 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.009937/0.8674, allocations: 7.16 MB / 0.8345 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006135/0.8735, allocations: 4.259 MB / 0.8387 GB, free: 209 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.8735, allocations: 3.562 kB / 0.8387 GB, free: 209 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002571/0.8761, allocations: 2.037 MB / 0.8407 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01345/0.8896, allocations: 3.279 MB / 0.8439 GB, free: 207.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1079/0.9975, allocations: 58.53 MB / 0.901 GB, free: 158.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00339/1.001, allocations: 4.303 MB / 0.9052 GB, free: 154.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005469/1.006, allocations: 1.838 MB / 0.907 GB, free: 152.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002801/1.009, allocations: 2.448 MB / 0.9094 GB, free: 150.3 MB / 0.6387 GB Notification: Performance of SimCode: time 5.41e-07/1.009, allocations: 1.531 kB / 0.9094 GB, free: 150.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.115/2.124, allocations: 151.7 MB / 1.058 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003138/2.124, allocations: 270.5 kB / 1.058 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.176/7.301, allocations: 4 kB / 1.058 GB, free: 15.35 MB / 0.6544 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)