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.001301/0.001301, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001433/0.001433, allocations: 206.7 kB / 22.24 MB, free: 5.258 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.385/1.385, allocations: 230.6 MB / 256 MB, free: 7.781 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.002419/0.002419, allocations: 292.1 kB / 312.7 MB, free: 2.562 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.192/1.192, allocations: 180.6 MB / 0.5369 GB, free: 14.56 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.002881/0.002881, allocations: 105.9 kB / 0.7395 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1901, allocations: 95.39 MB / 0.8326 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05256/0.2426, allocations: 45.39 MB / 0.877 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02145/0.2641, allocations: 12.94 MB / 0.8896 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003226/0.2673, allocations: 91.25 kB / 0.8897 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002678/0.27, allocations: 0.8071 MB / 0.8905 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007351/0.2773, allocations: 2.399 MB / 0.8928 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003953/0.2813, allocations: 1.34 MB / 0.8941 GB, free: 9.125 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02238/0.3037, allocations: 20.33 MB / 0.914 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01024/0.3139, allocations: 6.459 MB / 0.9203 GB, free: 14.16 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01481/0.3287, allocations: 6.717 MB / 0.9269 GB, free: 7.465 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01268/0.3414, allocations: 6.351 MB / 0.9331 GB, free: 1.09 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.003387/0.3448, allocations: 0.8438 MB / 0.9339 GB, free: 252 kB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006711/0.3515, allocations: 1.483 MB / 0.9353 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004208/0.3557, allocations: 2.208 MB / 0.9375 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.008741/0.3644, allocations: 3.502 MB / 0.9409 GB, free: 9.031 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0184/0.3828, allocations: 12.2 MB / 0.9528 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3828, allocations: 0 / 0.9528 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3828, allocations: 4 kB / 0.9528 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0005081/0.3834, allocations: 0 / 0.9528 GB, free: 12.79 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.02337/0.4067, allocations: 7.846 MB / 0.9605 GB, free: 4.879 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.4068, allocations: 9.344 kB / 0.9605 GB, free: 4.871 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002496/0.4093, allocations: 0.7758 MB / 0.9612 GB, free: 4.086 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004348/0.4136, allocations: 0.875 MB / 0.9621 GB, free: 3.207 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01646/0.4301, allocations: 6.378 MB / 0.9683 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004654/0.4305, allocations: 425.5 kB / 0.9687 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00184/0.4324, allocations: 0.5351 MB / 0.9693 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01813/0.4505, allocations: 9.131 MB / 0.9782 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/0.4507, allocations: 23.81 kB / 0.9782 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000679/0.4513, allocations: 232 kB / 0.9784 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001818/0.4515, allocations: 164 kB / 0.9786 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4168/0.8684, allocations: 6.513 MB / 0.9849 GB, free: 133.6 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.03549/0.9038, allocations: 23.31 MB / 1.008 GB, free: 120.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00458/0.9084, allocations: 3.431 MB / 1.011 GB, free: 118.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003121/0.9115, allocations: 2.577 MB / 1.014 GB, free: 117.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005838/0.9121, allocations: 144.4 kB / 1.014 GB, free: 117.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.905e-05/0.9122, allocations: 71.73 kB / 1.014 GB, free: 117.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 4.909e-06/0.9122, allocations: 0 / 1.014 GB, free: 117.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.00886/0.9211, allocations: 5.64 MB / 1.019 GB, free: 112.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.9211, allocations: 81.52 kB / 1.019 GB, free: 112.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006017/0.9271, allocations: 5.307 MB / 1.025 GB, free: 107.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000438/0.9276, allocations: 77.7 kB / 1.025 GB, free: 107.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001712/0.9293, allocations: 2.943 MB / 1.027 GB, free: 104.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009203/0.9302, allocations: 0.9845 MB / 1.028 GB, free: 104 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008061/0.931, allocations: 0.7157 MB / 1.029 GB, free: 103.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.776e-05/0.931, allocations: 303 kB / 1.029 GB, free: 103 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001997/0.933, allocations: 1.682 MB / 1.031 GB, free: 101.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002352/0.9354, allocations: 3.032 MB / 1.034 GB, free: 97.71 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00456/0.9399, allocations: 4.964 MB / 1.039 GB, free: 92.21 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.135e-05/0.94, allocations: 16.81 kB / 1.039 GB, free: 92.19 MB / 0.7169 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007166/0.9471, allocations: 5.448 MB / 1.044 GB, free: 86.71 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.9472, allocations: 24 kB / 1.044 GB, free: 86.69 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.6e-05/0.9472, allocations: 40 kB / 1.044 GB, free: 86.65 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008178/0.948, allocations: 419.8 kB / 1.045 GB, free: 86.24 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002573/0.9506, allocations: 0.8619 MB / 1.046 GB, free: 85.38 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004145/0.9547, allocations: 5.417 MB / 1.051 GB, free: 79.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004117/0.9589, allocations: 0.531 MB / 1.051 GB, free: 79.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003408/0.9592, allocations: 180 kB / 1.052 GB, free: 79.16 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.003318/0.9625, allocations: 2.288 MB / 1.054 GB, free: 76.86 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001312/0.9638, allocations: 0.5008 MB / 1.054 GB, free: 76.36 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005565/0.9694, allocations: 4.165 MB / 1.058 GB, free: 72.14 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/0.9694, allocations: 32.03 kB / 1.058 GB, free: 72.11 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.9694, allocations: 8 kB / 1.058 GB, free: 72.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003885/0.9733, allocations: 3.617 MB / 1.062 GB, free: 68.37 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/0.988, allocations: 9.544 MB / 1.071 GB, free: 58.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.988, allocations: 4 kB / 1.071 GB, free: 58.72 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001864/0.9898, allocations: 0.4998 MB / 1.072 GB, free: 58.22 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006996/0.9905, allocations: 372.3 kB / 1.072 GB, free: 57.86 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001749/0.9907, allocations: 79.91 kB / 1.072 GB, free: 57.78 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004077/0.9948, allocations: 5.358 MB / 1.077 GB, free: 52.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.9948, allocations: 7.938 kB / 1.077 GB, free: 52.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007715/1.003, allocations: 6.272 MB / 1.083 GB, free: 45.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003164/1.006, allocations: 1.076 MB / 1.085 GB, free: 44.67 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009395/1.007, allocations: 63.64 kB / 1.085 GB, free: 44.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002528/1.009, allocations: 182.1 kB / 1.085 GB, free: 44.44 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002573/1.009, allocations: 185.5 kB / 1.085 GB, free: 44.26 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002117/1.01, allocations: 139.8 kB / 1.085 GB, free: 44.12 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004785/1.014, allocations: 3.847 MB / 1.089 GB, free: 40.29 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/1.014, allocations: 0 / 1.089 GB, free: 40.29 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005016/1.019, allocations: 1.809 MB / 1.091 GB, free: 38.48 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.008094/1.027, allocations: 7.182 MB / 1.098 GB, free: 31.14 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005034/1.033, allocations: 4.128 MB / 1.102 GB, free: 26.97 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.033, allocations: 6.812 kB / 1.102 GB, free: 26.97 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002078/1.035, allocations: 1.931 MB / 1.104 GB, free: 25.01 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01245/1.047, allocations: 3.457 MB / 1.107 GB, free: 21.66 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06862/1.116, allocations: 47.19 MB / 1.153 GB, free: 4.797 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004554/1.12, allocations: 3.808 MB / 1.157 GB, free: 0.9492 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00548/1.126, allocations: 1.851 MB / 1.159 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003849/1.13, allocations: 2.456 MB / 1.161 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of SimCode: time 1.132e-06/1.13, allocations: 0 / 1.161 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2727/1.402, allocations: 164.9 MB / 1.322 GB, free: 9.699 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.09/19.49, allocations: 15.17 kB / 1.322 GB, free: 9.688 MB / 0.92 GB " [Timeout remaining time 640] (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: 24.095798335038126] Failed to read output from testmodel.py, exit status != 0: 19.695029765367508 19.994628669 19.608637615 Calling exit ...