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.001027/0.001027, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001005/0.001005, allocations: 194.8 kB / 16.25 MB, free: 6.629 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.214/1.214, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00196/0.00196, allocations: 287.6 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.893/0.893, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 90.53 kB / 0.5948 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1423, allocations: 86.98 MB / 0.6797 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04273/0.1851, allocations: 48.87 MB / 0.7275 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01694/0.2021, allocations: 13.7 MB / 0.7408 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002481/0.2046, allocations: 63.62 kB / 0.7409 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00225/0.2069, allocations: 0.6838 MB / 0.7416 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005825/0.2127, allocations: 2.104 MB / 0.7436 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002903/0.2157, allocations: 1.195 MB / 0.7448 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01742/0.2331, allocations: 19.68 MB / 0.764 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01068/0.2438, allocations: 9.816 MB / 0.7736 GB, free: 480 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2962/0.5401, allocations: 6.555 MB / 0.78 GB, free: 19.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009005/0.5491, allocations: 5.933 MB / 0.7858 GB, free: 18.53 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002391/0.5515, allocations: 0.837 MB / 0.7866 GB, free: 18.53 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005759/0.5573, allocations: 1.597 MB / 0.7882 GB, free: 18.53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002804/0.5601, allocations: 2.101 MB / 0.7902 GB, free: 18.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.009203/0.5693, allocations: 4.282 MB / 0.7944 GB, free: 17.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01461/0.5839, allocations: 11.92 MB / 0.806 GB, free: 16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.584, allocations: 0.6875 kB / 0.806 GB, free: 16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.584, allocations: 0 / 0.806 GB, free: 16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003542/0.5844, allocations: 1.906 kB / 0.806 GB, free: 16 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.01919/0.6036, allocations: 7.713 MB / 0.8136 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.6036, allocations: 13.41 kB / 0.8136 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001542/0.6052, allocations: 0.7662 MB / 0.8143 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00264/0.6078, allocations: 0.7902 MB / 0.8151 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/0.618, allocations: 6.242 MB / 0.8212 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002406/0.6183, allocations: 414.6 kB / 0.8216 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001308/0.6196, allocations: 0.5494 MB / 0.8221 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01169/0.6313, allocations: 8.075 MB / 0.83 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001096/0.6314, allocations: 17.69 kB / 0.83 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005598/0.632, allocations: 238.6 kB / 0.8303 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/0.6321, allocations: 162.7 kB / 0.8304 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008163/0.6403, allocations: 6.525 MB / 0.8368 GB, free: 3.48 MB / 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.03424/0.6745, allocations: 31.12 MB / 0.8672 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005193/0.6798, allocations: 3.655 MB / 0.8707 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003641/0.6834, allocations: 2.805 MB / 0.8735 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009166/0.6844, allocations: 0.8243 MB / 0.8743 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.638e-05/0.6844, allocations: 72.61 kB / 0.8744 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=267): time 5e-06/0.6845, allocations: 4 kB / 0.8744 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of matching and sorting (n=267): time 0.0104/0.6949, allocations: 5.758 MB / 0.88 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.6949, allocations: 81.52 kB / 0.8801 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007387/0.7023, allocations: 5.036 MB / 0.885 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0005687/0.7029, allocations: 77.7 kB / 0.8851 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002222/0.7051, allocations: 2.867 MB / 0.8879 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001333/0.7065, allocations: 0.9333 MB / 0.8888 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001019/0.7075, allocations: 0.7191 MB / 0.8895 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.532e-05/0.7076, allocations: 305.1 kB / 0.8898 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002366/0.71, allocations: 1.67 MB / 0.8914 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003026/0.713, allocations: 2.938 MB / 0.8943 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005649/0.7187, allocations: 4.969 MB / 0.8991 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/0.7187, allocations: 12 kB / 0.8991 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008408/0.7271, allocations: 5.426 MB / 0.9044 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.7272, allocations: 22.72 kB / 0.9044 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.153e-05/0.7272, allocations: 44 kB / 0.9045 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009058/0.7281, allocations: 426 kB / 0.9049 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00277/0.7309, allocations: 0.864 MB / 0.9057 GB, free: 224 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00531/0.7362, allocations: 5.696 MB / 0.9113 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005016/0.7413, allocations: 0.6432 MB / 0.9119 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004479/0.7417, allocations: 176.6 kB / 0.9121 GB, free: 9.48 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.003939/0.7457, allocations: 2.293 MB / 0.9143 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001354/0.7471, allocations: 486.1 kB / 0.9148 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006479/0.7535, allocations: 4.187 MB / 0.9189 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/0.7536, allocations: 28 kB / 0.9189 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/0.7536, allocations: 7.984 kB / 0.9189 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004675/0.7583, allocations: 3.631 MB / 0.9225 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0173/0.7756, allocations: 10.21 MB / 0.9324 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.7756, allocations: 4 kB / 0.9324 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001989/0.7776, allocations: 0.5098 MB / 0.9329 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007925/0.7784, allocations: 371.6 kB / 0.9333 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001879/0.7786, allocations: 75.95 kB / 0.9334 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00495/0.7836, allocations: 5.646 MB / 0.9389 GB, free: 13.69 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.7836, allocations: 11.73 kB / 0.9389 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008745/0.7924, allocations: 6.244 MB / 0.945 GB, free: 7.285 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002834/0.7952, allocations: 1.076 MB / 0.946 GB, free: 6.184 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008663/0.7961, allocations: 59.92 kB / 0.9461 GB, free: 6.125 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002922/0.799, allocations: 335 kB / 0.9464 GB, free: 5.801 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000308/0.7993, allocations: 173.2 kB / 0.9466 GB, free: 5.637 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000239/0.7996, allocations: 135.9 kB / 0.9467 GB, free: 5.504 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.006925/0.8065, allocations: 3.683 MB / 0.9503 GB, free: 1.836 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8066, allocations: 3.75 kB / 0.9503 GB, free: 1.836 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007329/0.8139, allocations: 1.777 MB / 0.952 GB, free: 56 kB / 0.67 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.01099/0.8249, allocations: 7.18 MB / 0.9591 GB, free: 8.777 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01464/0.8396, allocations: 8.068 MB / 0.9669 GB, free: 0.8242 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/0.8396, allocations: 7.375 kB / 0.9669 GB, free: 0.8203 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003506/0.8431, allocations: 2.037 MB / 0.9689 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01601/0.8592, allocations: 3.47 MB / 0.9723 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1487/1.008, allocations: 58.52 MB / 1.029 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004278/1.012, allocations: 4.309 MB / 1.034 GB, free: 7.934 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.006436/1.019, allocations: 1.844 MB / 1.035 GB, free: 6.109 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004569/1.023, allocations: 2.439 MB / 1.038 GB, free: 3.676 MB / 0.7637 GB Notification: Performance of SimCode: time 1.142e-06/1.023, allocations: 0 / 1.038 GB, free: 3.676 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8553/1.879, allocations: 155.7 MB / 1.19 GB, free: 193.5 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/1.879, allocations: 300.2 kB / 1.19 GB, free: 193.1 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.941/7.82, allocations: 0 / 1.19 GB, free: 193.1 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)