Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0008839/0.0008838, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005399/0.005399, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.288/1.288, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.935/0.935, allocations: 143.2 MB / 434.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.0003028, allocations: 8 kB / 0.5165 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1425, allocations: 83.41 MB / 0.598 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.318/0.4606, allocations: 47.96 MB / 0.6448 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01487/0.4755, allocations: 13.68 MB / 0.6582 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002658/0.4782, allocations: 60.41 kB / 0.6582 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002186/0.4804, allocations: 0.645 MB / 0.6588 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006485/0.4869, allocations: 2.087 MB / 0.6609 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003068/0.4899, allocations: 1.199 MB / 0.662 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02891/0.5189, allocations: 25.63 MB / 0.6871 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01233/0.5312, allocations: 7.818 MB / 0.6947 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01143/0.5427, allocations: 4.699 MB / 0.6993 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01102/0.5538, allocations: 5.219 MB / 0.7044 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001622/0.5554, allocations: 304 kB / 0.7047 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005142/0.5606, allocations: 0.9905 MB / 0.7057 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002319/0.5629, allocations: 1.424 MB / 0.707 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00709/0.57, allocations: 3.539 MB / 0.7105 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01338/0.5834, allocations: 11.85 MB / 0.7221 GB, free: 12.81 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.5834, allocations: 0 / 0.7221 GB, free: 12.81 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5834, allocations: 0 / 0.7221 GB, free: 12.81 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003758/0.5838, allocations: 0 / 0.7221 GB, free: 12.81 MB / 0.545 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.0139/0.5977, allocations: 6.247 MB / 0.7282 GB, free: 6.488 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.5978, allocations: 8.031 kB / 0.7282 GB, free: 6.48 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002615/0.6004, allocations: 0.7681 MB / 0.7289 GB, free: 5.703 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002805/0.6032, allocations: 0.7852 MB / 0.7297 GB, free: 4.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/0.614, allocations: 6.264 MB / 0.7358 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002923/0.6143, allocations: 415.4 kB / 0.7362 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009938/0.6153, allocations: 0.5505 MB / 0.7368 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01429/0.6296, allocations: 8.065 MB / 0.7446 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001074/0.6298, allocations: 15.88 kB / 0.7446 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005683/0.6303, allocations: 240 kB / 0.7449 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001476/0.6305, allocations: 164 kB / 0.745 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/0.6413, allocations: 6.528 MB / 0.7514 GB, free: 14.38 MB / 0.5762 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.04079/0.6821, allocations: 31.18 MB / 0.7819 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005473/0.6876, allocations: 3.658 MB / 0.7854 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003945/0.6915, allocations: 2.821 MB / 0.7882 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000912/0.6925, allocations: 0.8397 MB / 0.789 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.205e-05/0.6926, allocations: 76.59 kB / 0.7891 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=267): time 4.198e-06/0.6926, allocations: 0 / 0.7891 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=267): time 0.01104/0.7036, allocations: 5.782 MB / 0.7947 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.7037, allocations: 81.45 kB / 0.7948 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008533/0.7122, allocations: 5.028 MB / 0.7997 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0004912/0.7128, allocations: 77.7 kB / 0.7998 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.002503/0.7153, allocations: 2.868 MB / 0.8026 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001193/0.7165, allocations: 0.9437 MB / 0.8035 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005357/0.717, allocations: 301.6 kB / 0.8038 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.535e-05/0.7171, allocations: 309 kB / 0.8041 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002702/0.7198, allocations: 1.678 MB / 0.8057 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003449/0.7233, allocations: 2.936 MB / 0.8086 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006401/0.7297, allocations: 4.963 MB / 0.8134 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-05/0.7297, allocations: 12 kB / 0.8135 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008688/0.7384, allocations: 5.433 MB / 0.8188 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.7385, allocations: 24 kB / 0.8188 GB, free: 5.996 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-05/0.7386, allocations: 40 kB / 0.8188 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009332/0.7395, allocations: 422.9 kB / 0.8192 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002813/0.7423, allocations: 0.8579 MB / 0.8201 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005225/0.7476, allocations: 5.266 MB / 0.8252 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004182/0.7517, allocations: 0.6511 MB / 0.8258 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003429/0.7521, allocations: 180 kB / 0.826 GB, free: 14.31 MB / 0.6544 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.00361/0.7557, allocations: 2.281 MB / 0.8282 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001117/0.7568, allocations: 486.2 kB / 0.8287 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006667/0.7635, allocations: 4.184 MB / 0.8328 GB, free: 7.305 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.677e-05/0.7636, allocations: 28 kB / 0.8328 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.7636, allocations: 7.938 kB / 0.8328 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004904/0.7685, allocations: 3.626 MB / 0.8364 GB, free: 3.531 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/0.7854, allocations: 10.23 MB / 0.8463 GB, free: 9.125 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.7854, allocations: 4 kB / 0.8464 GB, free: 9.121 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002055/0.7875, allocations: 0.5037 MB / 0.8468 GB, free: 8.617 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008254/0.7883, allocations: 369.4 kB / 0.8472 GB, free: 8.25 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002333/0.7886, allocations: 75.95 kB / 0.8473 GB, free: 8.176 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005098/0.7937, allocations: 5.218 MB / 0.8524 GB, free: 2.695 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.7937, allocations: 7.938 kB / 0.8524 GB, free: 2.688 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2544/1.048, allocations: 6.236 MB / 0.8585 GB, free: 187.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003074/1.051, allocations: 1.173 MB / 0.8596 GB, free: 187.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008952/1.052, allocations: 63.97 kB / 0.8597 GB, free: 187.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003006/1.055, allocations: 339.6 kB / 0.86 GB, free: 187.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002741/1.055, allocations: 167.8 kB / 0.8602 GB, free: 187.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002201/1.056, allocations: 128.7 kB / 0.8603 GB, free: 187.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004619/1.06, allocations: 3.69 MB / 0.8639 GB, free: 187.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.61e-07/1.06, allocations: 3.969 kB / 0.8639 GB, free: 187.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004298/1.065, allocations: 1.783 MB / 0.8656 GB, free: 187.6 MB / 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.007953/1.073, allocations: 7.169 MB / 0.8726 GB, free: 185.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005159/1.078, allocations: 4.264 MB / 0.8768 GB, free: 183.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.078, allocations: 4.656 kB / 0.8768 GB, free: 183.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002185/1.08, allocations: 2.041 MB / 0.8788 GB, free: 182.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01673/1.097, allocations: 3.287 MB / 0.882 GB, free: 182.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1285/1.225, allocations: 58.74 MB / 0.9394 GB, free: 145.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00354/1.229, allocations: 4.308 MB / 0.9436 GB, free: 143.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005376/1.234, allocations: 1.846 MB / 0.9454 GB, free: 143.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002734/1.237, allocations: 2.438 MB / 0.9478 GB, free: 141 MB / 0.67 GB Notification: Performance of SimCode: time 1.854e-06/1.237, allocations: 0 / 0.9478 GB, free: 141 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.752/5.989, allocations: 150.9 MB / 1.095 GB, free: 9.344 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/5.99, allocations: 292 kB / 1.095 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.561/11.55, allocations: 0 / 1.095 GB, free: 8.965 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)