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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007289/0.0007289, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007656/0.0007656, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8627/0.8627, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001403/0.001403, allocations: 237 kB / 259.4 MB, free: 13.04 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6769/0.6769, allocations: 138.4 MB / 454.3 MB, free: 30.07 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.6463 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.068e-05, allocations: 9.031 kB / 0.6463 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.2655/0.2655, allocations: 45.05 MB / 0.6903 GB, free: 28.27 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01405/0.2795, allocations: 12.91 MB / 0.7029 GB, free: 19.45 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002945/0.2825, allocations: 92.38 kB / 0.703 GB, free: 19.4 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002548/0.285, allocations: 0.814 MB / 0.7038 GB, free: 18.92 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.006531/0.2916, allocations: 2.463 MB / 0.7062 GB, free: 17.45 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003144/0.2947, allocations: 1.406 MB / 0.7075 GB, free: 16.68 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01428/0.309, allocations: 20.48 MB / 0.7275 GB, free: 5.078 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007451/0.3164, allocations: 6.476 MB / 0.7339 GB, free: 0.6367 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02471/0.3411, allocations: 9.206 MB / 0.7428 GB, free: 8.434 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009431/0.3506, allocations: 5.813 MB / 0.7485 GB, free: 2.605 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.002257/0.3528, allocations: 0.8477 MB / 0.7493 GB, free: 1.758 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005419/0.3582, allocations: 1.502 MB / 0.7508 GB, free: 260 kB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.003435/0.3617, allocations: 2.266 MB / 0.753 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.007176/0.3689, allocations: 3.033 MB / 0.756 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.01271/0.3816, allocations: 12.29 MB / 0.768 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3816, allocations: 0 / 0.768 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.335e-06/0.3816, allocations: 0 / 0.768 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003814/0.382, allocations: 0 / 0.768 GB, free: 14.61 MB / 0.6042 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.01491/0.3969, allocations: 7.783 MB / 0.7756 GB, free: 6.762 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.3969, allocations: 9.938 kB / 0.7756 GB, free: 6.754 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002277/0.3992, allocations: 0.7681 MB / 0.7764 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003121/0.4023, allocations: 0.8828 MB / 0.7772 GB, free: 5.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01018/0.4125, allocations: 6.369 MB / 0.7834 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002725/0.4128, allocations: 415.4 kB / 0.7838 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00164/0.4144, allocations: 0.5471 MB / 0.7844 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01447/0.4289, allocations: 9.135 MB / 0.7933 GB, free: 4.047 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001339/0.429, allocations: 11.94 kB / 0.7933 GB, free: 4.035 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009972/0.43, allocations: 240 kB / 0.7935 GB, free: 3.801 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001261/0.4301, allocations: 167.9 kB / 0.7937 GB, free: 3.637 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01194/0.4421, allocations: 6.515 MB / 0.8 GB, free: 13.11 MB / 0.6355 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.03493/0.477, allocations: 23.28 MB / 0.8228 GB, free: 5.441 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004305/0.4813, allocations: 3.431 MB / 0.8261 GB, free: 2.023 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002801/0.4841, allocations: 2.593 MB / 0.8287 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004177/0.4845, allocations: 150 kB / 0.8288 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.772e-05/0.4846, allocations: 72.67 kB / 0.8289 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=267): time 4.388e-06/0.4846, allocations: 0 / 0.8289 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of matching and sorting (n=267): time 0.007977/0.4926, allocations: 5.615 MB / 0.8344 GB, free: 9.516 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.4926, allocations: 85.52 kB / 0.8344 GB, free: 9.418 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007606/0.5002, allocations: 5.321 MB / 0.8396 GB, free: 4.098 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000718/0.5009, allocations: 77.7 kB / 0.8397 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.002414/0.5034, allocations: 2.93 MB / 0.8426 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001371/0.5047, allocations: 0.9684 MB / 0.8435 GB, free: 88 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009664/0.5057, allocations: 0.7078 MB / 0.8442 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.5058, allocations: 301.1 kB / 0.8445 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002293/0.5081, allocations: 1.682 MB / 0.8461 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00241/0.5105, allocations: 3.036 MB / 0.8491 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004894/0.5154, allocations: 4.962 MB / 0.854 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-05/0.5154, allocations: 16 kB / 0.854 GB, free: 4.203 MB / 0.6823 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007487/0.5229, allocations: 5.443 MB / 0.8593 GB, free: 14.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.59e-05/0.5229, allocations: 24 kB / 0.8593 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.544e-05/0.523, allocations: 40.88 kB / 0.8593 GB, free: 14.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007317/0.5237, allocations: 423.7 kB / 0.8598 GB, free: 14.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/0.5256, allocations: 0.8619 MB / 0.8606 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004456/0.53, allocations: 5.419 MB / 0.8659 GB, free: 7.723 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00345/0.5335, allocations: 0.5276 MB / 0.8664 GB, free: 7.191 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004682/0.5339, allocations: 180 kB / 0.8666 GB, free: 7.016 MB / 0.698 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.003626/0.5376, allocations: 2.282 MB / 0.8688 GB, free: 4.723 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001432/0.539, allocations: 0.4969 MB / 0.8693 GB, free: 4.223 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005378/0.5444, allocations: 4.185 MB / 0.8734 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.5444, allocations: 28.05 kB / 0.8734 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.5444, allocations: 7.984 kB / 0.8734 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00344/0.5478, allocations: 3.62 MB / 0.8769 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01519/0.563, allocations: 9.537 MB / 0.8863 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.563, allocations: 7.938 kB / 0.8863 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.5642, allocations: 0.4958 MB / 0.8867 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006033/0.5648, allocations: 379.3 kB / 0.8871 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00018/0.565, allocations: 71.97 kB / 0.8872 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00384/0.5688, allocations: 5.364 MB / 0.8924 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.5688, allocations: 4 kB / 0.8924 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007807/0.5766, allocations: 6.261 MB / 0.8985 GB, free: 5.543 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002499/0.5791, allocations: 1.076 MB / 0.8996 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000923/0.5801, allocations: 63.98 kB / 0.8996 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002503/0.5826, allocations: 179.5 kB / 0.8998 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002647/0.5828, allocations: 189.5 kB / 0.9 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002575/0.5831, allocations: 131.9 kB / 0.9001 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.005119/0.5882, allocations: 3.847 MB / 0.9039 GB, free: 84 kB / 0.7292 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5882, allocations: 0 / 0.9039 GB, free: 84 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005328/0.5935, allocations: 1.813 MB / 0.9056 GB, free: 14.27 MB / 0.7448 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.009443/0.603, allocations: 7.183 MB / 0.9127 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00544/0.6084, allocations: 4.129 MB / 0.9167 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.6084, allocations: 128 / 0.9167 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002132/0.6106, allocations: 1.929 MB / 0.9186 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01101/0.6216, allocations: 3.457 MB / 0.922 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3011/0.9226, allocations: 47.03 MB / 0.9679 GB, free: 218.3 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004255/0.9269, allocations: 3.809 MB / 0.9716 GB, free: 217.3 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004729/0.9316, allocations: 1.85 MB / 0.9734 GB, free: 217.3 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003002/0.9346, allocations: 2.452 MB / 0.9758 GB, free: 215.4 MB / 0.7605 GB Notification: Performance of SimCode: time 1.152e-06/0.9346, allocations: 1.281 kB / 0.9758 GB, free: 215.4 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1404/1.075, allocations: 164.3 MB / 1.136 GB, free: 71.41 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/12.18, allocations: 7.875 kB / 1.136 GB, free: 71.4 MB / 0.7605 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.884438608773053] Failed to read output from testmodel.py, exit status != 0: 12.329268116503954 12.335129575 11.951747588 Calling exit ...