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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 106.3 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002315/0.002315, allocations: 280.1 kB / 303 MB, free: 3.633 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.048/1.048, allocations: 180.9 MB / 0.5262 GB, free: 2.773 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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 0.002683/0.002683, allocations: 91.84 kB / 0.7248 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5849/0.5876, allocations: 94.16 MB / 0.8167 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05078/0.6384, allocations: 49.65 MB / 0.8652 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02128/0.6597, allocations: 13.88 MB / 0.8787 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003551/0.6632, allocations: 66.31 kB / 0.8788 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00324/0.6665, allocations: 0.8401 MB / 0.8796 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008231/0.6747, allocations: 2.357 MB / 0.8819 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004111/0.6788, allocations: 1.31 MB / 0.8832 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.02402/0.7028, allocations: 19.58 MB / 0.9023 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01197/0.7148, allocations: 8.187 MB / 0.9103 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01527/0.7301, allocations: 6.587 MB / 0.9168 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01253/0.7426, allocations: 6.035 MB / 0.9227 GB, free: 4.426 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002977/0.7456, allocations: 0.8438 MB / 0.9235 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006768/0.7523, allocations: 1.627 MB / 0.9251 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004198/0.7565, allocations: 2.208 MB / 0.9272 GB, free: 15.74 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0106/0.7671, allocations: 4.295 MB / 0.9314 GB, free: 11.43 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01876/0.7859, allocations: 12.1 MB / 0.9432 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.7859, allocations: 0 / 0.9432 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7859, allocations: 3.938 kB / 0.9432 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000427/0.7863, allocations: 0 / 0.9432 GB, free: 15.28 MB / 0.6856 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.01997/0.8063, allocations: 7.919 MB / 0.951 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.8063, allocations: 12.03 kB / 0.951 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001989/0.8083, allocations: 0.7642 MB / 0.9517 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003242/0.8116, allocations: 0.8204 MB / 0.9525 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01457/0.8262, allocations: 6.344 MB / 0.9587 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004695/0.8266, allocations: 419.2 kB / 0.9591 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001834/0.8285, allocations: 0.539 MB / 0.9597 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01661/0.8451, allocations: 8.072 MB / 0.9675 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/0.8452, allocations: 23.81 kB / 0.9676 GB, free: 5.988 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006007/0.8458, allocations: 240 kB / 0.9678 GB, free: 5.754 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001667/0.846, allocations: 160 kB / 0.9679 GB, free: 5.598 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01282/0.8588, allocations: 6.528 MB / 0.9743 GB, free: 15.06 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.04766/0.9064, allocations: 31.28 MB / 1.005 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006192/0.9126, allocations: 3.439 MB / 1.008 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004174/0.9168, allocations: 2.589 MB / 1.011 GB, free: 7.914 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001193/0.918, allocations: 0.8319 MB / 1.012 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.476e-05/0.9181, allocations: 64.67 kB / 1.012 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=267): time 4.719e-06/0.9181, allocations: 0 / 1.012 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=267): time 0.01138/0.9295, allocations: 5.777 MB / 1.017 GB, free: 0.9648 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.9295, allocations: 81.52 kB / 1.017 GB, free: 0.8711 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008566/0.9381, allocations: 5.228 MB / 1.022 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0006338/0.9387, allocations: 81.7 kB / 1.023 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002934/0.9417, allocations: 2.938 MB / 1.025 GB, free: 8.598 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001429/0.9431, allocations: 0.98 MB / 1.026 GB, free: 7.609 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001093/0.9442, allocations: 0.7195 MB / 1.027 GB, free: 6.883 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.9443, allocations: 305.1 kB / 1.027 GB, free: 6.582 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002754/0.9471, allocations: 1.674 MB / 1.029 GB, free: 4.906 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003773/0.9509, allocations: 2.936 MB / 1.032 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006868/0.9577, allocations: 4.958 MB / 1.037 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.317e-05/0.9578, allocations: 15.94 kB / 1.037 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009814/0.9676, allocations: 5.451 MB / 1.042 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.967e-05/0.9676, allocations: 24.95 kB / 1.042 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.15e-05/0.9677, allocations: 40 kB / 1.042 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009773/0.9687, allocations: 425.3 kB / 1.042 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002952/0.9716, allocations: 0.858 MB / 1.043 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007825/0.9794, allocations: 5.704 MB / 1.049 GB, free: 15.02 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007973/0.9874, allocations: 0.5275 MB / 1.049 GB, free: 14.49 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001384/0.9888, allocations: 180 kB / 1.05 GB, free: 14.32 MB / 0.795 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.007427/0.9962, allocations: 2.292 MB / 1.052 GB, free: 12.01 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002398/0.9986, allocations: 0.4969 MB / 1.052 GB, free: 11.51 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009847/1.008, allocations: 4.164 MB / 1.056 GB, free: 7.293 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.919e-05/1.009, allocations: 27.94 kB / 1.056 GB, free: 7.266 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.002e-05/1.009, allocations: 8 kB / 1.056 GB, free: 7.258 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006047/1.015, allocations: 3.62 MB / 1.06 GB, free: 3.523 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02333/1.038, allocations: 10.26 MB / 1.07 GB, free: 9.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/1.038, allocations: 4 kB / 1.07 GB, free: 9.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002185/1.04, allocations: 0.4992 MB / 1.07 GB, free: 8.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008637/1.041, allocations: 373.6 kB / 1.071 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001937/1.041, allocations: 79.97 kB / 1.071 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006488/1.048, allocations: 5.654 MB / 1.076 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/1.048, allocations: 11.88 kB / 1.076 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/1.059, allocations: 6.253 MB / 1.083 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004004/1.063, allocations: 1.118 MB / 1.084 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001538/1.064, allocations: 63.98 kB / 1.084 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003408/1.068, allocations: 171.8 kB / 1.084 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004373/1.068, allocations: 181.6 kB / 1.084 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004216/1.069, allocations: 127.9 kB / 1.084 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00841/1.077, allocations: 3.839 MB / 1.088 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/1.077, allocations: 0 / 1.088 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.008014/1.085, allocations: 1.821 MB / 1.09 GB, free: 4.453 MB / 0.8262 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.01535/1.1, allocations: 7.197 MB / 1.097 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.008232/1.109, allocations: 4.122 MB / 1.101 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.51e-05/1.109, allocations: 4 kB / 1.101 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.004039/1.113, allocations: 1.93 MB / 1.103 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01729/1.13, allocations: 3.461 MB / 1.106 GB, free: 3.602 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4661/1.596, allocations: 47.09 MB / 1.152 GB, free: 270.1 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006083/1.602, allocations: 4.303 MB / 1.156 GB, free: 268.6 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.006382/1.609, allocations: 1.858 MB / 1.158 GB, free: 268.6 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004392/1.613, allocations: 2.451 MB / 1.16 GB, free: 266.6 MB / 0.8731 GB Notification: Performance of SimCode: time 1.353e-06/1.613, allocations: 1.156 kB / 1.16 GB, free: 266.6 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2304/1.843, allocations: 154.8 MB / 1.312 GB, free: 140.3 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.46/21.3, allocations: 10.88 kB / 1.312 GB, free: 140.3 MB / 0.8731 GB " [Timeout remaining time 639] (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: 25.466172934044152] Failed to read output from testmodel.py, exit status != 0: 21.484575648326427 21.501028339 20.711529809 Calling exit ...