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.001362/0.001362, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001639/0.001639, allocations: 217 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.419/1.419, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.002571/0.002571, allocations: 282.8 kB / 312.7 MB, free: 2.793 MB / 238.1 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 1.222/1.222, allocations: 180.6 MB / 0.5369 GB, free: 13.05 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00285/0.00285, allocations: 104.4 kB / 0.7396 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1886, allocations: 95.39 MB / 0.8327 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05981/0.2484, allocations: 50.34 MB / 0.8819 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02224/0.2706, allocations: 13.98 MB / 0.8955 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002897/0.2735, allocations: 95.25 kB / 0.8956 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00315/0.2767, allocations: 0.8382 MB / 0.8964 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008729/0.2854, allocations: 2.406 MB / 0.8988 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004335/0.2897, allocations: 1.383 MB / 0.9001 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02897/0.3187, allocations: 20.1 MB / 0.9198 GB, free: 15.22 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01283/0.3315, allocations: 6.451 MB / 0.9261 GB, free: 8.645 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01661/0.3481, allocations: 6.684 MB / 0.9326 GB, free: 1.98 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01265/0.3608, allocations: 6.039 MB / 0.9385 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003426/0.3642, allocations: 0.8438 MB / 0.9393 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007533/0.3717, allocations: 1.678 MB / 0.941 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00479/0.3765, allocations: 2.204 MB / 0.9431 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.01171/0.3882, allocations: 4.295 MB / 0.9473 GB, free: 2.871 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02118/0.4094, allocations: 12.16 MB / 0.9592 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.4094, allocations: 0 / 0.9592 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.156e-06/0.4094, allocations: 0 / 0.9592 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0005311/0.41, allocations: 0 / 0.9592 GB, free: 6.672 MB / 0.7012 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.02619/0.4361, allocations: 7.857 MB / 0.9669 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.4362, allocations: 17.28 kB / 0.9669 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002798/0.439, allocations: 0.7603 MB / 0.9676 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005077/0.4441, allocations: 0.8867 MB / 0.9685 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01533/0.4594, allocations: 6.37 MB / 0.9747 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004966/0.4599, allocations: 419.2 kB / 0.9751 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002132/0.462, allocations: 0.5468 MB / 0.9756 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4543/0.9164, allocations: 8.065 MB / 0.9835 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001874/0.9166, allocations: 19.02 kB / 0.9835 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009137/0.9175, allocations: 237.5 kB / 0.9838 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002377/0.9177, allocations: 163.8 kB / 0.9839 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01668/0.9344, allocations: 6.526 MB / 0.9903 GB, free: 129.3 MB / 0.7169 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.04406/0.9785, allocations: 31.17 MB / 1.021 GB, free: 105.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004743/0.9832, allocations: 3.439 MB / 1.024 GB, free: 104.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003213/0.9864, allocations: 2.572 MB / 1.027 GB, free: 103 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006194/0.987, allocations: 163 kB / 1.027 GB, free: 102.9 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.811e-05/0.9871, allocations: 66.67 kB / 1.027 GB, free: 102.9 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 4.478e-06/0.9871, allocations: 0 / 1.027 GB, free: 102.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.009217/0.9963, allocations: 5.632 MB / 1.032 GB, free: 99.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.9964, allocations: 77.52 kB / 1.032 GB, free: 99.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006377/1.003, allocations: 5.247 MB / 1.038 GB, free: 94.28 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005329/1.003, allocations: 73.7 kB / 1.038 GB, free: 94.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001878/1.005, allocations: 2.937 MB / 1.04 GB, free: 91.56 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001237/1.006, allocations: 0.981 MB / 1.041 GB, free: 90.71 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009179/1.007, allocations: 0.7273 MB / 1.042 GB, free: 89.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.646e-05/1.007, allocations: 305.1 kB / 1.042 GB, free: 89.68 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002072/1.009, allocations: 1.674 MB / 1.044 GB, free: 88 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002583/1.012, allocations: 2.934 MB / 1.047 GB, free: 84.53 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004951/1.017, allocations: 4.97 MB / 1.052 GB, free: 78.96 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.972e-05/1.017, allocations: 12 kB / 1.052 GB, free: 78.95 MB / 0.7169 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008271/1.025, allocations: 5.446 MB / 1.057 GB, free: 73.46 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/1.025, allocations: 24 kB / 1.057 GB, free: 73.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-05/1.025, allocations: 40 kB / 1.057 GB, free: 73.39 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008553/1.026, allocations: 421.3 kB / 1.058 GB, free: 72.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002816/1.029, allocations: 0.858 MB / 1.058 GB, free: 72.12 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00443/1.033, allocations: 5.496 MB / 1.064 GB, free: 66.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004932/1.038, allocations: 0.5263 MB / 1.064 GB, free: 66.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006092/1.039, allocations: 180 kB / 1.064 GB, free: 65.85 MB / 0.7169 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.003866/1.043, allocations: 2.288 MB / 1.067 GB, free: 63.56 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001491/1.044, allocations: 0.5046 MB / 1.067 GB, free: 63.05 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005812/1.05, allocations: 4.171 MB / 1.071 GB, free: 58.83 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.718e-05/1.05, allocations: 28 kB / 1.071 GB, free: 58.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/1.05, allocations: 4 kB / 1.071 GB, free: 58.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004082/1.054, allocations: 3.633 MB / 1.075 GB, free: 55.05 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0174/1.072, allocations: 10.29 MB / 1.085 GB, free: 44.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/1.072, allocations: 4 kB / 1.085 GB, free: 44.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002207/1.074, allocations: 0.5038 MB / 1.085 GB, free: 44.15 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009153/1.075, allocations: 371.9 kB / 1.086 GB, free: 43.79 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004096/1.075, allocations: 79.95 kB / 1.086 GB, free: 43.71 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004746/1.08, allocations: 5.434 MB / 1.091 GB, free: 38.06 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/1.08, allocations: 7.938 kB / 1.091 GB, free: 38.05 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009481/1.089, allocations: 6.261 MB / 1.097 GB, free: 31.62 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003366/1.093, allocations: 1.076 MB / 1.098 GB, free: 30.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001624/1.094, allocations: 63.98 kB / 1.098 GB, free: 30.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003527/1.098, allocations: 179.3 kB / 1.099 GB, free: 30.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000463/1.098, allocations: 177.5 kB / 1.099 GB, free: 30.13 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004312/1.099, allocations: 131.9 kB / 1.099 GB, free: 30 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.006529/1.105, allocations: 3.851 MB / 1.103 GB, free: 26.17 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.31e-07/1.105, allocations: 0 / 1.103 GB, free: 26.17 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006814/1.112, allocations: 1.813 MB / 1.104 GB, free: 24.35 MB / 0.7169 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.01011/1.122, allocations: 7.182 MB / 1.111 GB, free: 17.02 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005909/1.128, allocations: 4.135 MB / 1.115 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/1.128, allocations: 5.938 kB / 1.115 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00267/1.131, allocations: 1.926 MB / 1.117 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01534/1.146, allocations: 3.463 MB / 1.121 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09009/1.236, allocations: 47.2 MB / 1.167 GB, free: 6.652 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006766/1.243, allocations: 4.307 MB / 1.171 GB, free: 2.309 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.006363/1.249, allocations: 1.855 MB / 1.173 GB, free: 480 kB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004862/1.254, allocations: 2.45 MB / 1.175 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of SimCode: time 1.322e-06/1.254, allocations: 0 / 1.175 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3011/1.555, allocations: 157.8 MB / 1.329 GB, free: 1.363 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.39/23.95, allocations: 7.938 kB / 1.329 GB, free: 1.355 MB / 0.92 GB " [Timeout remaining time 636] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 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: 28.645220479927957] Failed to read output from testmodel.py, exit status != 0: 24.458298712037504 24.470411464 24.058118039 Calling exit ...