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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(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.005171/0.005171, allocations: 98.12 kB / 15.73 MB, free: 6.004 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.001276/0.001276, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.8311/0.8311, allocations: 143.3 MB / 433.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 62.48 kB / 0.5953 GB, free: 12.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1505, allocations: 82.03 MB / 0.6754 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0571/0.2076, allocations: 56 MB / 0.7301 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02372/0.2314, allocations: 17.96 MB / 0.7476 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/0.2336, allocations: 75.62 kB / 0.7477 GB, free: 468 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.2839/0.5175, allocations: 0.8898 MB / 0.7486 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006852/0.5244, allocations: 2.506 MB / 0.751 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003465/0.5279, allocations: 1.527 MB / 0.7525 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01832/0.5462, allocations: 21.26 MB / 0.7733 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0102/0.5565, allocations: 10.68 MB / 0.7837 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01325/0.5697, allocations: 7.156 MB / 0.7907 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0113/0.5811, allocations: 6.371 MB / 0.7969 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002808/0.5839, allocations: 0.9362 MB / 0.7978 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008764/0.5927, allocations: 1.704 MB / 0.7995 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00456/0.5973, allocations: 2.336 MB / 0.8018 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0104/0.6077, allocations: 4.712 MB / 0.8064 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01956/0.6273, allocations: 13.89 MB / 0.8199 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.6273, allocations: 0 / 0.8199 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.764e-06/0.6273, allocations: 3.938 kB / 0.8199 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0005192/0.6279, allocations: 4 kB / 0.8199 GB, free: 6.305 MB / 0.6075 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.02517/0.653, allocations: 8.74 MB / 0.8285 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.6531, allocations: 8.031 kB / 0.8285 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003216/0.6563, allocations: 0.8448 MB / 0.8293 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004422/0.6608, allocations: 0.8942 MB / 0.8302 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01348/0.6743, allocations: 6.756 MB / 0.8368 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004945/0.6748, allocations: 462.9 kB / 0.8372 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00205/0.6769, allocations: 0.6002 MB / 0.8378 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02234/0.6992, allocations: 9.024 MB / 0.8466 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001659/0.6995, allocations: 19.86 kB / 0.8466 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009559/0.7004, allocations: 262.7 kB / 0.8469 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002321/0.7007, allocations: 179.9 kB / 0.8471 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01668/0.7174, allocations: 7.451 MB / 0.8543 GB, free: 2.809 MB / 0.6387 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.05154/0.7689, allocations: 36.09 MB / 0.8896 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007315/0.7763, allocations: 4.279 MB / 0.8938 GB, free: 8.691 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005236/0.7816, allocations: 3.304 MB / 0.897 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/0.783, allocations: 0.9641 MB / 0.8979 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00427/0.7873, allocations: 2.386 MB / 0.9002 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002118/0.7894, allocations: 379.8 kB / 0.9006 GB, free: 1.461 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=317): time 6.392e-06/0.7895, allocations: 0 / 0.9006 GB, free: 1.461 MB / 0.6856 GB Notification: Performance of matching and sorting (n=317): time 0.0141/0.8036, allocations: 7.155 MB / 0.9076 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.404e-05/0.8037, allocations: 88.72 kB / 0.9077 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01049/0.8142, allocations: 5.67 MB / 0.9132 GB, free: 4.473 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0007573/0.815, allocations: 85.7 kB / 0.9133 GB, free: 4.383 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.003915/0.8189, allocations: 3.267 MB / 0.9165 GB, free: 1.105 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001993/0.8209, allocations: 1.176 MB / 0.9176 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001554/0.8225, allocations: 0.8624 MB / 0.9185 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.8226, allocations: 309.1 kB / 0.9188 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003798/0.8264, allocations: 2.16 MB / 0.9209 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005131/0.8316, allocations: 3.696 MB / 0.9245 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00985/0.8415, allocations: 6.325 MB / 0.9307 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.96e-05/0.8415, allocations: 19.56 kB / 0.9307 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01249/0.854, allocations: 6.802 MB / 0.9373 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.706e-05/0.8541, allocations: 53.7 kB / 0.9374 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.549e-05/0.8542, allocations: 51.98 kB / 0.9374 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.8553, allocations: 440.5 kB / 0.9379 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003812/0.8591, allocations: 1.01 MB / 0.9388 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006717/0.8658, allocations: 5.694 MB / 0.9444 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004665/0.8705, allocations: 287.7 kB / 0.9447 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008082/0.8713, allocations: 219.9 kB / 0.9449 GB, free: 2.309 MB / 0.7325 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.005372/0.8767, allocations: 2.479 MB / 0.9473 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001829/0.8786, allocations: 0.5551 MB / 0.9478 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/0.8889, allocations: 5.267 MB / 0.953 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.714e-05/0.889, allocations: 32 kB / 0.953 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.889, allocations: 7.984 kB / 0.953 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007513/0.8965, allocations: 4.532 MB / 0.9575 GB, free: 5.27 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02518/0.9217, allocations: 11.99 MB / 0.9692 GB, free: 9.219 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.9218, allocations: 4 kB / 0.9692 GB, free: 9.215 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002978/0.9248, allocations: 0.6477 MB / 0.9698 GB, free: 8.566 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009138/0.9257, allocations: 366 kB / 0.9701 GB, free: 8.203 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002703/0.926, allocations: 87.94 kB / 0.9702 GB, free: 8.117 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006576/0.9326, allocations: 5.627 MB / 0.9757 GB, free: 2.227 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.9326, allocations: 3.938 kB / 0.9757 GB, free: 2.223 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/0.9461, allocations: 7.796 MB / 0.9833 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003127/0.9493, allocations: 1.188 MB / 0.9845 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001117/0.9504, allocations: 64 kB / 0.9846 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003011/0.9535, allocations: 203.4 kB / 0.9848 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004419/0.9539, allocations: 202.2 kB / 0.985 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00032/0.9542, allocations: 135.9 kB / 0.9851 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.006854/0.9611, allocations: 3.967 MB / 0.989 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9611, allocations: 0 / 0.989 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.006475/0.9676, allocations: 2.02 MB / 0.9909 GB, free: 2.566 MB / 0.7794 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.01433/0.982, allocations: 8.753 MB / 0.9995 GB, free: 9.742 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.009556/0.9915, allocations: 5.446 MB / 1.005 GB, free: 4.266 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.9916, allocations: 4 kB / 1.005 GB, free: 4.262 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004378/0.996, allocations: 2.545 MB / 1.007 GB, free: 1.688 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01542/1.011, allocations: 3.389 MB / 1.011 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09345/1.105, allocations: 52.56 MB / 1.062 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005135/1.11, allocations: 4.632 MB / 1.066 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.00605/1.116, allocations: 2.081 MB / 1.068 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2924/1.409, allocations: 2.674 MB / 1.071 GB, free: 319.5 MB / 0.8575 GB Notification: Performance of SimCode: time 1.273e-06/1.409, allocations: 0 / 1.071 GB, free: 319.5 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8456/2.254, allocations: 160.3 MB / 1.228 GB, free: 194.3 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.14/25.39, allocations: 19.73 kB / 1.228 GB, free: 194.3 MB / 0.8575 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)