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.0007877/0.0007877, 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.000817/0.000817, allocations: 169.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.8792/0.8792, allocations: 177.1 MB / 202.8 MB, free: 5.742 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: 234.9 kB / 259.4 MB, free: 13.02 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.6976/0.6976, allocations: 138.4 MB / 454.3 MB, free: 30.03 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.413e-06/1.413e-06, allocations: 0 / 0.6463 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.222e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.2729/0.2729, allocations: 45.04 MB / 0.6903 GB, free: 28.29 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01396/0.2869, allocations: 12.91 MB / 0.7029 GB, free: 19.48 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002577/0.2894, allocations: 92.84 kB / 0.703 GB, free: 19.44 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.2913, allocations: 0.8169 MB / 0.7038 GB, free: 18.95 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.006442/0.2977, allocations: 2.465 MB / 0.7062 GB, free: 17.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003147/0.3009, allocations: 1.404 MB / 0.7075 GB, free: 16.71 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01383/0.3147, allocations: 20.47 MB / 0.7275 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007237/0.3219, allocations: 6.485 MB / 0.7339 GB, free: 0.6758 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01857/0.3405, allocations: 9.196 MB / 0.7428 GB, free: 8.422 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009746/0.3503, allocations: 5.817 MB / 0.7485 GB, free: 2.59 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.002561/0.3528, allocations: 0.8438 MB / 0.7493 GB, free: 1.746 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005311/0.3581, allocations: 1.498 MB / 0.7508 GB, free: 252 kB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.003422/0.3616, allocations: 2.262 MB / 0.753 GB, free: 13.97 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.006514/0.3681, allocations: 3.037 MB / 0.756 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.01315/0.3812, allocations: 12.3 MB / 0.768 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.026e-06/0.3812, allocations: 0 / 0.768 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3812, allocations: 0 / 0.768 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003872/0.3816, allocations: 0 / 0.768 GB, free: 14.59 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.014/0.3956, allocations: 7.779 MB / 0.7756 GB, free: 6.746 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.3957, allocations: 17.94 kB / 0.7756 GB, free: 6.73 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001102/0.3968, allocations: 0.7642 MB / 0.7764 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002045/0.3988, allocations: 0.879 MB / 0.7772 GB, free: 5.074 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009575/0.4084, allocations: 6.371 MB / 0.7834 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/0.4086, allocations: 411.4 kB / 0.7838 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006826/0.4093, allocations: 0.5471 MB / 0.7844 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/0.4204, allocations: 9.131 MB / 0.7933 GB, free: 4.043 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.948e-05/0.4205, allocations: 19.88 kB / 0.7933 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004195/0.4209, allocations: 236 kB / 0.7935 GB, free: 3.793 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003608/0.4213, allocations: 163.9 kB / 0.7937 GB, free: 3.633 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008458/0.4297, allocations: 6.511 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.02971/0.4595, allocations: 23.29 MB / 0.8228 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003747/0.4632, allocations: 3.439 MB / 0.8261 GB, free: 2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002617/0.4658, allocations: 2.585 MB / 0.8287 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004045/0.4662, allocations: 154 kB / 0.8288 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.799e-05/0.4663, allocations: 64.67 kB / 0.8289 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=267): time 4.429e-06/0.4663, allocations: 0 / 0.8289 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=267): time 0.007515/0.4738, allocations: 5.63 MB / 0.8344 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.4738, allocations: 77.52 kB / 0.8344 GB, free: 9.398 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006141/0.48, allocations: 5.317 MB / 0.8396 GB, free: 4.082 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0004853/0.4805, allocations: 81.7 kB / 0.8397 GB, free: 3.996 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001722/0.4822, allocations: 2.926 MB / 0.8426 GB, free: 1.047 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001465/0.4837, allocations: 0.9684 MB / 0.8435 GB, free: 72 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007362/0.4844, allocations: 0.7079 MB / 0.8442 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.067e-05/0.4845, allocations: 309.1 kB / 0.8445 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/0.4862, allocations: 1.674 MB / 0.8461 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002322/0.4886, allocations: 3.036 MB / 0.8491 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004581/0.4931, allocations: 4.966 MB / 0.854 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.551e-05/0.4932, allocations: 16 kB / 0.854 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.006857/0.5, allocations: 5.448 MB / 0.8593 GB, free: 14.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/0.5001, allocations: 20 kB / 0.8593 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-05/0.5001, allocations: 40 kB / 0.8593 GB, free: 14.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006454/0.5007, allocations: 423.8 kB / 0.8598 GB, free: 14.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.5024, allocations: 0.858 MB / 0.8606 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004107/0.5065, allocations: 5.419 MB / 0.8659 GB, free: 7.707 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003307/0.5098, allocations: 0.5275 MB / 0.8664 GB, free: 7.176 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003137/0.5101, allocations: 180 kB / 0.8666 GB, free: 7 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.003214/0.5133, allocations: 2.286 MB / 0.8688 GB, free: 4.703 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/0.5144, allocations: 0.5008 MB / 0.8693 GB, free: 4.199 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004744/0.5192, allocations: 4.182 MB / 0.8734 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.5192, allocations: 28 kB / 0.8734 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.5192, allocations: 8 kB / 0.8734 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003166/0.5224, allocations: 3.612 MB / 0.8769 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01212/0.5345, allocations: 9.541 MB / 0.8863 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.627e-06/0.5345, allocations: 4.562 kB / 0.8863 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.5356, allocations: 0.5109 MB / 0.8868 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000549/0.5362, allocations: 371.3 kB / 0.8871 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/0.5363, allocations: 71.97 kB / 0.8872 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003836/0.5401, allocations: 5.364 MB / 0.8924 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5401, allocations: 4 kB / 0.8924 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007306/0.5474, allocations: 6.265 MB / 0.8985 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002326/0.5498, allocations: 1.076 MB / 0.8996 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006128/0.5504, allocations: 63.98 kB / 0.8996 GB, free: 4.371 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/0.5518, allocations: 175.6 kB / 0.8998 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/0.552, allocations: 189.5 kB / 0.9 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/0.5522, allocations: 127.8 kB / 0.9001 GB, free: 3.895 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00406/0.5562, allocations: 3.847 MB / 0.9039 GB, free: 64 kB / 0.7292 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5562, allocations: 0 / 0.9039 GB, free: 64 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003815/0.56, allocations: 1.817 MB / 0.9057 GB, free: 14.24 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.006975/0.567, allocations: 7.187 MB / 0.9127 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004807/0.5718, allocations: 4.128 MB / 0.9167 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.5718, allocations: 4 kB / 0.9167 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.5737, allocations: 1.928 MB / 0.9186 GB, free: 0.75 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0094/0.5831, allocations: 3.455 MB / 0.922 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3024/0.8855, allocations: 47.02 MB / 0.9679 GB, free: 222.6 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003987/0.8895, allocations: 3.81 MB / 0.9716 GB, free: 221.6 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004525/0.894, allocations: 1.855 MB / 0.9734 GB, free: 221.6 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00254/0.8966, allocations: 2.448 MB / 0.9758 GB, free: 219.7 MB / 0.7605 GB Notification: Performance of SimCode: time 1.342e-06/0.8966, allocations: 1.531 kB / 0.9758 GB, free: 219.7 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1467/1.043, allocations: 164.3 MB / 1.136 GB, free: 77.04 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.64, allocations: 4 kB / 1.136 GB, free: 77.04 MB / 0.7605 GB " [Timeout remaining time 646] (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: 16.375963422469795] Failed to read output from testmodel.py, exit status != 0: 13.786128026433289 13.795100169 13.411186923 Calling exit ...