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.001148/0.001148, allocations: 106.4 kB / 16.4 MB, free: 6.457 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.001193/0.001193, allocations: 195.9 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7154/0.7154, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.98 kB / 0.5572 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1582, allocations: 76.17 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04332/0.2016, allocations: 49.28 MB / 0.6797 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01741/0.219, allocations: 13.83 MB / 0.6932 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002779/0.2218, allocations: 67.62 kB / 0.6933 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002304/0.2242, allocations: 0.7953 MB / 0.694 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006234/0.2305, allocations: 2.258 MB / 0.6963 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003306/0.2338, allocations: 1.313 MB / 0.6975 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01795/0.2518, allocations: 19.61 MB / 0.7167 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0111/0.2629, allocations: 9.894 MB / 0.7263 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01257/0.2755, allocations: 6.594 MB / 0.7328 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01003/0.2856, allocations: 5.755 MB / 0.7384 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003359/0.2889, allocations: 0.8438 MB / 0.7392 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007139/0.2961, allocations: 1.608 MB / 0.7408 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004317/0.3004, allocations: 2.115 MB / 0.7429 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.398/0.6985, allocations: 4.288 MB / 0.7471 GB, free: 24.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02086/0.7194, allocations: 12.07 MB / 0.7588 GB, free: 23.85 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.7194, allocations: 0 / 0.7588 GB, free: 23.85 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.385e-06/0.7194, allocations: 0.5625 kB / 0.7588 GB, free: 23.85 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000511/0.72, allocations: 0 / 0.7588 GB, free: 23.85 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.02916/0.7491, allocations: 7.737 MB / 0.7664 GB, free: 21.14 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.7492, allocations: 9.531 kB / 0.7664 GB, free: 21.14 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004287/0.7535, allocations: 0.7666 MB / 0.7672 GB, free: 21.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006606/0.7601, allocations: 0.7809 MB / 0.7679 GB, free: 20.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01664/0.7768, allocations: 6.302 MB / 0.7741 GB, free: 19.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005708/0.7774, allocations: 414.7 kB / 0.7745 GB, free: 19.76 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003112/0.7806, allocations: 0.5463 MB / 0.775 GB, free: 19.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02631/0.8069, allocations: 8.07 MB / 0.7829 GB, free: 18.97 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003798/0.8073, allocations: 17.97 kB / 0.7829 GB, free: 18.97 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003207/0.8105, allocations: 238.6 kB / 0.7831 GB, free: 18.97 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002018/0.8108, allocations: 162.7 kB / 0.7833 GB, free: 18.96 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01653/0.8273, allocations: 6.523 MB / 0.7897 GB, free: 18.61 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.05218/0.8795, allocations: 31.2 MB / 0.8201 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006432/0.886, allocations: 3.643 MB / 0.8237 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004378/0.8904, allocations: 2.802 MB / 0.8264 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/0.8915, allocations: 0.8249 MB / 0.8272 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.096e-05/0.8916, allocations: 72.8 kB / 0.8273 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=267): time 8.165e-06/0.8916, allocations: 3.719 kB / 0.8273 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of matching and sorting (n=267): time 0.01301/0.9046, allocations: 5.765 MB / 0.8329 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/0.9048, allocations: 81.52 kB / 0.833 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01307/0.9178, allocations: 5.234 MB / 0.8381 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.00108/0.919, allocations: 81.7 kB / 0.8382 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.003827/0.9228, allocations: 2.862 MB / 0.841 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002239/0.9251, allocations: 0.9328 MB / 0.8419 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002775/0.9279, allocations: 0.7164 MB / 0.8426 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.928, allocations: 305.1 kB / 0.8429 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003297/0.9313, allocations: 1.682 MB / 0.8445 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004317/0.9357, allocations: 2.933 MB / 0.8474 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007465/0.9431, allocations: 4.966 MB / 0.8522 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.675e-05/0.9432, allocations: 12 kB / 0.8523 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01132/0.9545, allocations: 5.434 MB / 0.8576 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.378e-05/0.9547, allocations: 26.62 kB / 0.8576 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.969e-05/0.9547, allocations: 40 kB / 0.8576 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.9558, allocations: 421.6 kB / 0.858 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003348/0.9592, allocations: 0.8566 MB / 0.8589 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005894/0.9651, allocations: 5.701 MB / 0.8644 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00613/0.9712, allocations: 0.5146 MB / 0.8649 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/0.9723, allocations: 180.9 kB / 0.8651 GB, free: 14.7 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.005957/0.9783, allocations: 2.288 MB / 0.8673 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002464/0.9808, allocations: 490.1 kB / 0.8678 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009421/0.9902, allocations: 4.181 MB / 0.8719 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.655e-05/0.9903, allocations: 28 kB / 0.8719 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.876e-05/0.9903, allocations: 4 kB / 0.8719 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005592/0.9959, allocations: 3.632 MB / 0.8755 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02591/1.022, allocations: 10.26 MB / 0.8855 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/1.022, allocations: 6.625 kB / 0.8855 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002395/1.024, allocations: 0.5058 MB / 0.886 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009327/1.025, allocations: 376 kB / 0.8863 GB, free: 8.812 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004339/1.026, allocations: 75.95 kB / 0.8864 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005889/1.032, allocations: 5.648 MB / 0.8919 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/1.032, allocations: 10.98 kB / 0.8919 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/1.043, allocations: 6.247 MB / 0.898 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004204/1.048, allocations: 1.092 MB / 0.8991 GB, free: 11.33 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002329/1.05, allocations: 67.92 kB / 0.8992 GB, free: 11.26 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004463/1.055, allocations: 173.2 kB / 0.8993 GB, free: 11.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004642/1.055, allocations: 179.7 kB / 0.8995 GB, free: 10.93 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005114/1.056, allocations: 131.9 kB / 0.8996 GB, free: 10.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.008732/1.064, allocations: 3.839 MB / 0.9034 GB, free: 6.973 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.81e-07/1.064, allocations: 0 / 0.9034 GB, free: 6.973 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009289/1.074, allocations: 1.804 MB / 0.9051 GB, free: 5.164 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.01559/1.089, allocations: 7.195 MB / 0.9122 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007801/1.097, allocations: 4.271 MB / 0.9163 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/1.097, allocations: 4.875 kB / 0.9163 GB, free: 9.688 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003368/1.1, allocations: 2.037 MB / 0.9183 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01905/1.12, allocations: 3.455 MB / 0.9217 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1002/1.22, allocations: 46.93 MB / 0.9675 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007116/1.227, allocations: 4.307 MB / 0.9717 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.007389/1.234, allocations: 1.852 MB / 0.9736 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005885/1.24, allocations: 2.439 MB / 0.9759 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of SimCode: time 1.213e-06/1.24, allocations: 2.625 kB / 0.9759 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5514/1.792, allocations: 156.5 MB / 1.129 GB, free: 239.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.16/21.95, allocations: 14.56 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)