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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008859/0.0008859, allocations: 96.62 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005437/0.005437, allocations: 169.9 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 223.3 MB / 240.3 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00173/0.00173, allocations: 279.1 kB / 291.7 MB, free: 1.773 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8725/0.8725, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003734, allocations: 14.55 kB / 0.5988 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1222, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.03849/0.1608, allocations: 47.96 MB / 0.7321 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01445/0.1752, allocations: 13.67 MB / 0.7454 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000932/0.1762, allocations: 59.62 kB / 0.7455 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.1775, allocations: 0.6525 MB / 0.7461 GB, free: 468 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003533/0.181, allocations: 2.088 MB / 0.7481 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.1831, allocations: 1.195 MB / 0.7493 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.2626/0.4457, allocations: 25.62 MB / 0.7743 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007747/0.4534, allocations: 7.828 MB / 0.782 GB, free: 24.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007053/0.4605, allocations: 4.696 MB / 0.7866 GB, free: 24.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006304/0.4668, allocations: 5.215 MB / 0.7916 GB, free: 23.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006021/0.4675, allocations: 302.5 kB / 0.7919 GB, free: 23.31 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.47, allocations: 0.9949 MB / 0.7929 GB, free: 23.31 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009547/0.471, allocations: 1.421 MB / 0.7943 GB, free: 23.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003021/0.474, allocations: 3.537 MB / 0.7978 GB, free: 22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006668/0.4807, allocations: 11.26 MB / 0.8087 GB, free: 18.9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4807, allocations: 0 / 0.8087 GB, free: 18.9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4807, allocations: 3.984 kB / 0.8088 GB, free: 18.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001453/0.4809, allocations: 0 / 0.8088 GB, free: 18.89 MB / 0.5606 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.007855/0.4887, allocations: 6.231 MB / 0.8148 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.4888, allocations: 13.16 kB / 0.8149 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007788/0.4896, allocations: 0.7636 MB / 0.8156 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.4912, allocations: 0.7883 MB / 0.8164 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007016/0.4982, allocations: 6.242 MB / 0.8225 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000172/0.4984, allocations: 420.5 kB / 0.8229 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000601/0.499, allocations: 0.545 MB / 0.8234 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009946/0.509, allocations: 8.076 MB / 0.8313 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-05/0.5091, allocations: 19.97 kB / 0.8313 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000488/0.5096, allocations: 236 kB / 0.8315 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001229/0.5097, allocations: 162.9 kB / 0.8317 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008729/0.5184, allocations: 6.526 MB / 0.8381 GB, free: 464 kB / 0.5606 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.02845/0.5469, allocations: 31.16 MB / 0.8685 GB, free: 8 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004476/0.5514, allocations: 3.644 MB / 0.872 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003327/0.5547, allocations: 2.83 MB / 0.8748 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007874/0.5555, allocations: 0.842 MB / 0.8756 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.5556, allocations: 72.61 kB / 0.8757 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=267): time 3.957e-06/0.5556, allocations: 0 / 0.8757 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=267): time 0.0087/0.5643, allocations: 5.78 MB / 0.8813 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.5644, allocations: 81.52 kB / 0.8814 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005532/0.5699, allocations: 5.025 MB / 0.8863 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001929/0.5701, allocations: 81.69 kB / 0.8864 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001954/0.5721, allocations: 2.874 MB / 0.8892 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007695/0.5728, allocations: 0.9359 MB / 0.8901 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003457/0.5732, allocations: 305.6 kB / 0.8904 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 7.815e-05/0.5733, allocations: 305.1 kB / 0.8907 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/0.5755, allocations: 1.674 MB / 0.8923 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0029/0.5784, allocations: 2.938 MB / 0.8952 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005325/0.5837, allocations: 4.965 MB / 0.9001 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.606e-05/0.5837, allocations: 12 kB / 0.9001 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.00701/0.5908, allocations: 5.431 MB / 0.9054 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.5908, allocations: 24 kB / 0.9054 GB, free: 9.035 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-05/0.5908, allocations: 40 kB / 0.9054 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008029/0.5916, allocations: 426.2 kB / 0.9058 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002557/0.5942, allocations: 0.858 MB / 0.9067 GB, free: 7.715 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004672/0.5989, allocations: 5.26 MB / 0.9118 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003307/0.6022, allocations: 0.6471 MB / 0.9125 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002355/0.6025, allocations: 180 kB / 0.9126 GB, free: 1.363 MB / 0.6387 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.002979/0.6054, allocations: 2.297 MB / 0.9149 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005849/0.606, allocations: 482.2 kB / 0.9153 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005669/0.6117, allocations: 4.186 MB / 0.9194 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/0.6117, allocations: 28 kB / 0.9194 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.6118, allocations: 7.938 kB / 0.9195 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004437/0.6162, allocations: 3.632 MB / 0.923 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01322/0.6294, allocations: 10.21 MB / 0.933 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.6295, allocations: 4 kB / 0.933 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/0.6313, allocations: 0.507 MB / 0.9335 GB, free: 11.72 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006901/0.632, allocations: 371.1 kB / 0.9338 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/0.6322, allocations: 79.95 kB / 0.9339 GB, free: 11.28 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004527/0.6367, allocations: 5.2 MB / 0.939 GB, free: 5.824 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.6367, allocations: 7.938 kB / 0.939 GB, free: 5.816 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007506/0.6442, allocations: 6.242 MB / 0.9451 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/0.646, allocations: 1.166 MB / 0.9462 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005013/0.6466, allocations: 67.92 kB / 0.9463 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002528/0.6491, allocations: 334.5 kB / 0.9466 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.6494, allocations: 173.6 kB / 0.9468 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000212/0.6496, allocations: 131.9 kB / 0.9469 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.004331/0.6539, allocations: 3.691 MB / 0.9505 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6539, allocations: 0 / 0.9505 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00368/0.6576, allocations: 1.781 MB / 0.9522 GB, free: 8.07 MB / 0.6856 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.008419/0.666, allocations: 7.167 MB / 0.9592 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005429/0.6715, allocations: 4.259 MB / 0.9634 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.6715, allocations: 384 / 0.9634 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002407/0.6739, allocations: 2.043 MB / 0.9654 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0146/0.6885, allocations: 3.279 MB / 0.9686 GB, free: 7.172 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1072/0.7957, allocations: 58.75 MB / 1.026 GB, free: 7.469 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003784/0.7995, allocations: 4.299 MB / 1.03 GB, free: 3.141 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00491/0.8045, allocations: 1.851 MB / 1.032 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002914/0.8074, allocations: 2.44 MB / 1.034 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of SimCode: time 4.61e-07/0.8074, allocations: 3.938 kB / 1.034 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.097/1.905, allocations: 150.6 MB / 1.181 GB, free: 189.3 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/1.905, allocations: 296.2 kB / 1.182 GB, free: 188.9 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.863/6.768, allocations: 4 kB / 1.182 GB, free: 188.9 MB / 0.7794 GB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)