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.0008427/0.0008427, allocations: 97.64 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.004659/0.004659, allocations: 173.9 kB / 16.27 MB, free: 6.652 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.209/1.209, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.9515/0.9515, allocations: 143.2 MB / 434.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003047, allocations: 8 kB / 0.5165 GB, free: 11.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1426, allocations: 83.42 MB / 0.598 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.2687/0.4113, allocations: 54.53 MB / 0.6512 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01713/0.4285, allocations: 17.73 MB / 0.6685 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002101/0.4306, allocations: 66.94 kB / 0.6686 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.4324, allocations: 0.7186 MB / 0.6693 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005623/0.438, allocations: 2.326 MB / 0.6716 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003113/0.4412, allocations: 1.384 MB / 0.6729 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.02557/0.4667, allocations: 27.81 MB / 0.7001 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01045/0.4772, allocations: 8.424 MB / 0.7083 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01037/0.4876, allocations: 5.201 MB / 0.7134 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009066/0.4967, allocations: 5.795 MB / 0.719 GB, free: 44 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001071/0.4978, allocations: 348 kB / 0.7194 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003831/0.5017, allocations: 1.026 MB / 0.7204 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001552/0.5032, allocations: 1.587 MB / 0.7219 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.005138/0.5084, allocations: 3.893 MB / 0.7257 GB, free: 9.164 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01179/0.5202, allocations: 12.96 MB / 0.7384 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5202, allocations: 0 / 0.7384 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5202, allocations: 4 kB / 0.7384 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002354/0.5205, allocations: 0 / 0.7384 GB, free: 12.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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.01232/0.5328, allocations: 6.896 MB / 0.7451 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.5328, allocations: 12.03 kB / 0.7451 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001481/0.5343, allocations: 0.8383 MB / 0.746 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002232/0.5366, allocations: 0.8625 MB / 0.7468 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01007/0.5466, allocations: 6.634 MB / 0.7533 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002975/0.547, allocations: 464.2 kB / 0.7537 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009286/0.5479, allocations: 0.6013 MB / 0.7543 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01573/0.5636, allocations: 9.032 MB / 0.7631 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001736/0.5638, allocations: 15.88 kB / 0.7631 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000856/0.5647, allocations: 260 kB / 0.7634 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001694/0.5649, allocations: 179.9 kB / 0.7636 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0136/0.5785, allocations: 7.461 MB / 0.7708 GB, free: 10.42 MB / 0.5919 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.04543/0.6239, allocations: 36 MB / 0.806 GB, free: 4.363 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005998/0.63, allocations: 4.295 MB / 0.8102 GB, free: 68 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004488/0.6345, allocations: 3.332 MB / 0.8135 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/0.6357, allocations: 0.9818 MB / 0.8144 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003625/0.6394, allocations: 2.398 MB / 0.8168 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002249/0.6416, allocations: 443.8 kB / 0.8172 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=317): time 8.175e-06/0.6416, allocations: 0 / 0.8172 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317): time 0.01205/0.6537, allocations: 7.135 MB / 0.8241 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.6538, allocations: 89.91 kB / 0.8242 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008168/0.662, allocations: 5.467 MB / 0.8296 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003935/0.6624, allocations: 85.7 kB / 0.8297 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002756/0.6651, allocations: 3.188 MB / 0.8328 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001142/0.6663, allocations: 1.121 MB / 0.8339 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005329/0.6668, allocations: 367.3 kB / 0.8342 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.813e-05/0.6669, allocations: 305.1 kB / 0.8345 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003263/0.6702, allocations: 2.16 MB / 0.8366 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004185/0.6744, allocations: 3.689 MB / 0.8402 GB, free: 248 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007801/0.6822, allocations: 6.307 MB / 0.8464 GB, free: 9.219 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.264e-05/0.6823, allocations: 16 kB / 0.8464 GB, free: 9.203 MB / 0.67 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01047/0.6927, allocations: 6.756 MB / 0.853 GB, free: 2.395 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.298e-05/0.6928, allocations: 57.69 kB / 0.853 GB, free: 2.332 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.426e-05/0.6929, allocations: 48 kB / 0.8531 GB, free: 2.285 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009494/0.6938, allocations: 443 kB / 0.8535 GB, free: 1.848 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003488/0.6973, allocations: 1.006 MB / 0.8545 GB, free: 0.8398 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2685/0.9659, allocations: 5.256 MB / 0.8596 GB, free: 185.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005015/0.9709, allocations: 471.5 kB / 0.8601 GB, free: 185.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004336/0.9714, allocations: 215.6 kB / 0.8603 GB, free: 185.5 MB / 0.67 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.003718/0.9751, allocations: 2.48 MB / 0.8627 GB, free: 185.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/0.9762, allocations: 0.5269 MB / 0.8632 GB, free: 185.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007179/0.9833, allocations: 5.267 MB / 0.8684 GB, free: 184.9 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.481e-05/0.9834, allocations: 32.72 kB / 0.8684 GB, free: 184.9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.9834, allocations: 9.938 kB / 0.8684 GB, free: 184.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005154/0.9886, allocations: 4.524 MB / 0.8728 GB, free: 183.1 MB / 0.67 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 postOpt removeSimpleEquations (simulation): time 0.0171/1.006, allocations: 12 MB / 0.8845 GB, free: 178.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/1.006, allocations: 5.406 kB / 0.8845 GB, free: 178.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002641/1.008, allocations: 0.6511 MB / 0.8852 GB, free: 178.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008127/1.009, allocations: 376 kB / 0.8855 GB, free: 178.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002302/1.009, allocations: 82.98 kB / 0.8856 GB, free: 178.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004467/1.014, allocations: 5.182 MB / 0.8907 GB, free: 174.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.014, allocations: 0.9688 kB / 0.8907 GB, free: 174.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01184/1.026, allocations: 7.635 MB / 0.8981 GB, free: 171.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003224/1.029, allocations: 1.223 MB / 0.8993 GB, free: 171.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001033/1.03, allocations: 63.69 kB / 0.8994 GB, free: 171 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003889/1.034, allocations: 474.9 kB / 0.8998 GB, free: 171 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004649/1.034, allocations: 212.2 kB / 0.9 GB, free: 170.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002952/1.035, allocations: 137.3 kB / 0.9002 GB, free: 170.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.006181/1.041, allocations: 3.809 MB / 0.9039 GB, free: 169.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.51e-07/1.041, allocations: 0 / 0.9039 GB, free: 169.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006362/1.047, allocations: 1.985 MB / 0.9058 GB, free: 169.3 MB / 0.67 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.01259/1.06, allocations: 8.576 MB / 0.9142 GB, free: 165.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007951/1.068, allocations: 5.389 MB / 0.9195 GB, free: 163.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.068, allocations: 5.75 kB / 0.9195 GB, free: 163.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003458/1.071, allocations: 2.513 MB / 0.9219 GB, free: 162.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01735/1.089, allocations: 3.231 MB / 0.9251 GB, free: 161.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1255/1.214, allocations: 65.71 MB / 0.9893 GB, free: 98.76 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003017/1.217, allocations: 4.62 MB / 0.9938 GB, free: 94.11 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006052/1.223, allocations: 2.004 MB / 0.9957 GB, free: 92.12 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003042/1.226, allocations: 2.667 MB / 0.9983 GB, free: 89.46 MB / 0.67 GB Notification: Performance of SimCode: time 6.32e-07/1.226, allocations: 0 / 0.9983 GB, free: 89.46 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4927/1.719, allocations: 158.3 MB / 1.153 GB, free: 205.1 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/1.719, allocations: 284.9 kB / 1.153 GB, free: 204.8 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.335/7.055, allocations: 0 / 1.153 GB, free: 204.8 MB / 0.7012 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)