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.0009926/0.0009927, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001021/0.001021, allocations: 193.8 kB / 16.13 MB, free: 6.668 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.262/1.262, allocations: 222.9 MB / 239.8 MB, free: 4.555 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.9586/0.9586, allocations: 143.1 MB / 433 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 63.91 kB / 0.5136 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1515, allocations: 82.05 MB / 0.5937 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.2881/0.4397, allocations: 55.63 MB / 0.648 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01795/0.4577, allocations: 17.93 MB / 0.6656 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002656/0.4604, allocations: 75.69 kB / 0.6656 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002184/0.4626, allocations: 0.7297 MB / 0.6663 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006388/0.469, allocations: 2.323 MB / 0.6686 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003399/0.4724, allocations: 1.382 MB / 0.67 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.02605/0.4985, allocations: 27.81 MB / 0.6971 GB, free: 320 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0108/0.5093, allocations: 8.708 MB / 0.7056 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01082/0.5202, allocations: 5.517 MB / 0.711 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01022/0.5304, allocations: 6.189 MB / 0.7171 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002176/0.5326, allocations: 472 kB / 0.7175 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005818/0.5384, allocations: 1.155 MB / 0.7186 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003077/0.5415, allocations: 1.794 MB / 0.7204 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00812/0.5497, allocations: 4.121 MB / 0.7244 GB, free: 8.031 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01354/0.5632, allocations: 13.3 MB / 0.7374 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.5633, allocations: 0 / 0.7374 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5633, allocations: 0 / 0.7374 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003282/0.5636, allocations: 0 / 0.7374 GB, free: 10.69 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.01675/0.5804, allocations: 8.511 MB / 0.7457 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.5804, allocations: 8.031 kB / 0.7457 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001341/0.5818, allocations: 0.8422 MB / 0.7465 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002467/0.5842, allocations: 0.8547 MB / 0.7474 GB, free: 372 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/0.5955, allocations: 6.644 MB / 0.7539 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003597/0.5959, allocations: 468.1 kB / 0.7543 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001705/0.5976, allocations: 0.5937 MB / 0.7549 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01648/0.6141, allocations: 9.025 MB / 0.7637 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001371/0.6143, allocations: 15.88 kB / 0.7637 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000735/0.615, allocations: 260 kB / 0.764 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001495/0.6152, allocations: 183.9 kB / 0.7641 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01307/0.6283, allocations: 7.453 MB / 0.7714 GB, free: 7.355 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.04724/0.6755, allocations: 35.93 MB / 0.8065 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006293/0.6818, allocations: 4.276 MB / 0.8107 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004633/0.6865, allocations: 3.308 MB / 0.8139 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/0.6878, allocations: 0.9544 MB / 0.8149 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003915/0.6917, allocations: 2.39 MB / 0.8172 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00262/0.6943, allocations: 447.8 kB / 0.8176 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=317): time 8.125e-06/0.6944, allocations: 0 / 0.8176 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317): time 0.01197/0.7063, allocations: 7.106 MB / 0.8246 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.7064, allocations: 81.91 kB / 0.8246 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007321/0.7138, allocations: 5.475 MB / 0.83 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0005816/0.7144, allocations: 85.7 kB / 0.8301 GB, free: 8.941 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002615/0.717, allocations: 3.184 MB / 0.8332 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001295/0.7183, allocations: 1.121 MB / 0.8343 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/0.7194, allocations: 0.8542 MB / 0.8351 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.852e-05/0.7195, allocations: 305.1 kB / 0.8354 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003025/0.7225, allocations: 2.152 MB / 0.8375 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003852/0.7264, allocations: 3.689 MB / 0.8411 GB, free: 12.87 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007193/0.7336, allocations: 6.3 MB / 0.8472 GB, free: 5.852 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.278e-05/0.7336, allocations: 12 kB / 0.8473 GB, free: 5.84 MB / 0.67 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.4902/1.224, allocations: 6.749 MB / 0.8538 GB, free: 189.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.509e-05/1.224, allocations: 55.61 kB / 0.8539 GB, free: 189.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.365e-05/1.224, allocations: 48.81 kB / 0.8539 GB, free: 189.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008617/1.225, allocations: 434.8 kB / 0.8544 GB, free: 189.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003556/1.228, allocations: 1.006 MB / 0.8553 GB, free: 189.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00423/1.233, allocations: 5.255 MB / 0.8605 GB, free: 186.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004795/1.237, allocations: 467.6 kB / 0.8609 GB, free: 186.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004541/1.238, allocations: 218.5 kB / 0.8611 GB, free: 186.7 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.003442/1.241, allocations: 2.479 MB / 0.8635 GB, free: 186.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001178/1.243, allocations: 0.528 MB / 0.8641 GB, free: 186.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006915/1.249, allocations: 5.247 MB / 0.8692 GB, free: 184.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/1.25, allocations: 32 kB / 0.8692 GB, free: 184.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.25, allocations: 8.406 kB / 0.8692 GB, free: 184.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005097/1.255, allocations: 4.531 MB / 0.8737 GB, free: 182.8 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.01839/1.273, allocations: 11.96 MB / 0.8853 GB, free: 178.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.273, allocations: 6.062 kB / 0.8853 GB, free: 178.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00266/1.276, allocations: 0.6373 MB / 0.886 GB, free: 178.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008406/1.277, allocations: 371.2 kB / 0.8863 GB, free: 178.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002099/1.277, allocations: 91.78 kB / 0.8864 GB, free: 178.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004515/1.281, allocations: 5.186 MB / 0.8915 GB, free: 174.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.281, allocations: 1.125 kB / 0.8915 GB, free: 174.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01208/1.293, allocations: 7.613 MB / 0.8989 GB, free: 171.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003089/1.297, allocations: 1.128 MB / 0.9 GB, free: 170.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009141/1.297, allocations: 73.22 kB / 0.9001 GB, free: 170.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003375/1.301, allocations: 466.9 kB / 0.9005 GB, free: 170.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000441/1.301, allocations: 200.7 kB / 0.9007 GB, free: 170.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002793/1.302, allocations: 137.8 kB / 0.9008 GB, free: 170.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.005788/1.307, allocations: 3.809 MB / 0.9046 GB, free: 169.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.4e-07/1.307, allocations: 0 / 0.9046 GB, free: 169.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006082/1.313, allocations: 1.986 MB / 0.9065 GB, free: 169.1 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.0122/1.326, allocations: 8.573 MB / 0.9149 GB, free: 165.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008803/1.335, allocations: 5.377 MB / 0.9201 GB, free: 163.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/1.335, allocations: 3.625 kB / 0.9201 GB, free: 163.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003614/1.338, allocations: 2.508 MB / 0.9226 GB, free: 162.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0156/1.354, allocations: 3.22 MB / 0.9257 GB, free: 161.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.125/1.479, allocations: 65.45 MB / 0.9896 GB, free: 97.86 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002904/1.482, allocations: 4.628 MB / 0.9942 GB, free: 93.19 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005528/1.487, allocations: 2 MB / 0.9961 GB, free: 91.21 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002986/1.49, allocations: 2.67 MB / 0.9987 GB, free: 88.54 MB / 0.67 GB Notification: Performance of SimCode: time 7.81e-07/1.49, allocations: 0 / 0.9987 GB, free: 88.54 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4588/1.949, allocations: 159.6 MB / 1.155 GB, free: 207.1 MB / 0.7013 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/1.949, allocations: 280.9 kB / 1.155 GB, free: 206.7 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.98/6.929, allocations: 0 / 1.155 GB, free: 206.7 MB / 0.7013 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)