Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.StratifiedLoadingUnloading,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",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.006308/0.006308, allocations: 104.6 kB / 15.74 MB, free: 6.496 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.001237/0.001237, allocations: 191.6 kB / 16.67 MB, free: 6.379 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.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 1.009/1.009, allocations: 143 MB / 433.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 71.88 kB / 0.5951 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4818/0.4834, allocations: 82.02 MB / 0.6752 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06734/0.5508, allocations: 55.99 MB / 0.7298 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02664/0.5775, allocations: 17.95 MB / 0.7474 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003529/0.5811, allocations: 71.62 kB / 0.7474 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00324/0.5844, allocations: 0.9002 MB / 0.7483 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008274/0.5927, allocations: 2.507 MB / 0.7508 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004787/0.5975, allocations: 1.53 MB / 0.7523 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0253/0.6228, allocations: 21.26 MB / 0.773 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01559/0.6384, allocations: 10.68 MB / 0.7835 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01549/0.654, allocations: 7.239 MB / 0.7905 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01149/0.6655, allocations: 6.366 MB / 0.7967 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.003145/0.6687, allocations: 0.9375 MB / 0.7977 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006468/0.6752, allocations: 1.694 MB / 0.7993 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004051/0.6793, allocations: 2.345 MB / 0.8016 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01041/0.6897, allocations: 4.711 MB / 0.8062 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02053/0.7103, allocations: 13.85 MB / 0.8197 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.358e-05/0.7103, allocations: 3.938 kB / 0.8197 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.146e-06/0.7104, allocations: 0 / 0.8197 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0006627/0.711, allocations: 0 / 0.8197 GB, free: 1.887 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02447/0.7355, allocations: 8.526 MB / 0.8281 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.7356, allocations: 16.02 kB / 0.8281 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003056/0.7386, allocations: 0.8383 MB / 0.8289 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00456/0.7432, allocations: 0.8586 MB / 0.8297 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01495/0.7582, allocations: 6.718 MB / 0.8363 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000461/0.7587, allocations: 464.2 kB / 0.8367 GB, free: 308 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002428/0.7612, allocations: 0.5898 MB / 0.8373 GB, free: 15.71 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02314/0.7843, allocations: 9.036 MB / 0.8461 GB, free: 6.348 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002618/0.7846, allocations: 23.78 kB / 0.8461 GB, free: 6.324 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001737/0.7864, allocations: 260 kB / 0.8464 GB, free: 6.07 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001783/0.7866, allocations: 179.9 kB / 0.8466 GB, free: 5.895 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01596/0.8025, allocations: 7.445 MB / 0.8538 GB, free: 14.44 MB / 0.6856 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.4734/1.276, allocations: 36.01 MB / 0.889 GB, free: 149.6 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007221/1.283, allocations: 4.287 MB / 0.8932 GB, free: 147.7 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005344/1.289, allocations: 3.306 MB / 0.8964 GB, free: 146.1 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/1.29, allocations: 0.9528 MB / 0.8974 GB, free: 145.1 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004374/1.294, allocations: 2.391 MB / 0.8997 GB, free: 143.7 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002965/1.297, allocations: 362.1 kB / 0.9 GB, free: 143.7 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=317): time 1.237e-05/1.297, allocations: 0 / 0.9 GB, free: 143.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=317): time 0.0125/1.31, allocations: 7.137 MB / 0.907 GB, free: 139.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/1.31, allocations: 88.38 kB / 0.9071 GB, free: 139.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008172/1.318, allocations: 5.674 MB / 0.9126 GB, free: 137 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0008517/1.319, allocations: 85.61 kB / 0.9127 GB, free: 136.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.003268/1.322, allocations: 3.189 MB / 0.9158 GB, free: 134.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.002119/1.325, allocations: 1.119 MB / 0.9169 GB, free: 133.2 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001473/1.326, allocations: 0.8566 MB / 0.9178 GB, free: 132.8 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.514e-05/1.326, allocations: 306.6 kB / 0.918 GB, free: 132.4 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002997/1.329, allocations: 2.164 MB / 0.9202 GB, free: 131.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003775/1.333, allocations: 3.7 MB / 0.9238 GB, free: 127.3 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007418/1.34, allocations: 6.318 MB / 0.9299 GB, free: 120.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.278e-05/1.34, allocations: 16 kB / 0.93 GB, free: 120.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01251/1.353, allocations: 6.78 MB / 0.9366 GB, free: 113.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 7.961e-05/1.353, allocations: 53.7 kB / 0.9366 GB, free: 113.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.375e-05/1.353, allocations: 51.94 kB / 0.9367 GB, free: 113.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009371/1.354, allocations: 439.3 kB / 0.9371 GB, free: 112.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003966/1.358, allocations: 1.002 MB / 0.9381 GB, free: 111.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004692/1.363, allocations: 5.705 MB / 0.9436 GB, free: 106 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006034/1.369, allocations: 287.3 kB / 0.9439 GB, free: 105.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000913/1.37, allocations: 216 kB / 0.9441 GB, free: 105.5 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.005085/1.375, allocations: 2.475 MB / 0.9465 GB, free: 103 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001912/1.377, allocations: 0.5288 MB / 0.9471 GB, free: 102.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008102/1.385, allocations: 5.269 MB / 0.9522 GB, free: 97.14 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.653e-05/1.385, allocations: 36.19 kB / 0.9522 GB, free: 97.1 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/1.385, allocations: 4 kB / 0.9522 GB, free: 97.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005741/1.391, allocations: 4.535 MB / 0.9567 GB, free: 92.46 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02178/1.413, allocations: 11.99 MB / 0.9684 GB, free: 80.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/1.413, allocations: 4 kB / 0.9684 GB, free: 80.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002667/1.415, allocations: 0.6437 MB / 0.969 GB, free: 79.76 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007982/1.416, allocations: 371.7 kB / 0.9694 GB, free: 79.39 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002755/1.416, allocations: 87.95 kB / 0.9694 GB, free: 79.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004294/1.421, allocations: 5.612 MB / 0.9749 GB, free: 73.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.421, allocations: 0 / 0.9749 GB, free: 73.43 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/1.432, allocations: 7.757 MB / 0.9825 GB, free: 65.57 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003477/1.435, allocations: 1.162 MB / 0.9836 GB, free: 64.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001683/1.437, allocations: 67.98 kB / 0.9837 GB, free: 64.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004025/1.441, allocations: 194.8 kB / 0.9839 GB, free: 64.13 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000615/1.441, allocations: 202.2 kB / 0.9841 GB, free: 63.93 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003886/1.442, allocations: 139.9 kB / 0.9842 GB, free: 63.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.006456/1.448, allocations: 3.967 MB / 0.9881 GB, free: 59.85 MB / 0.6856 GB Notification: Performance of sort global known variables: time 5.91e-07/1.448, allocations: 0 / 0.9881 GB, free: 59.85 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00759/1.456, allocations: 2.006 MB / 0.99 GB, free: 57.86 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.01554/1.472, allocations: 8.714 MB / 0.9986 GB, free: 49.09 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01076/1.482, allocations: 5.448 MB / 1.004 GB, free: 43.59 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.137e-05/1.482, allocations: 8.281 kB / 1.004 GB, free: 43.59 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004819/1.487, allocations: 2.537 MB / 1.006 GB, free: 41.02 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01739/1.505, allocations: 3.395 MB / 1.01 GB, free: 37.72 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1042/1.609, allocations: 52.34 MB / 1.061 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007425/1.616, allocations: 4.628 MB / 1.065 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.008583/1.625, allocations: 2.082 MB / 1.067 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007074/1.632, allocations: 2.674 MB / 1.07 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of SimCode: time 3.817e-06/1.632, allocations: 0 / 1.07 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6615/2.294, allocations: 162.9 MB / 1.229 GB, free: 247.6 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.9/23.2, allocations: 4.312 kB / 1.229 GB, free: 247.6 MB / 0.8106 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)