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-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.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.004212/0.004217, allocations: 95.7 kB / 15.73 MB, free: 6.484 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.001244/0.001244, allocations: 191.3 kB / 16.67 MB, free: 6.391 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.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.9898/0.9898, allocations: 143.3 MB / 433.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 75.88 kB / 0.5953 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3571, allocations: 82.02 MB / 0.6754 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05025/0.4074, allocations: 49.29 MB / 0.7235 GB, free: 4.738 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01889/0.4263, allocations: 13.83 MB / 0.737 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002065/0.4284, allocations: 67.62 kB / 0.7371 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001949/0.4304, allocations: 0.8031 MB / 0.7379 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005456/0.4359, allocations: 2.253 MB / 0.7401 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002924/0.4388, allocations: 1.321 MB / 0.7414 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02101/0.4599, allocations: 19.59 MB / 0.7605 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01255/0.4725, allocations: 9.894 MB / 0.7702 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01274/0.4852, allocations: 6.521 MB / 0.7765 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009986/0.4952, allocations: 5.758 MB / 0.7822 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002043/0.4973, allocations: 0.8438 MB / 0.783 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005693/0.503, allocations: 1.612 MB / 0.7846 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00278/0.5058, allocations: 2.115 MB / 0.7866 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.007509/0.5133, allocations: 4.287 MB / 0.7908 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01568/0.529, allocations: 12.72 MB / 0.8032 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.5291, allocations: 4 kB / 0.8032 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.506e-06/0.5291, allocations: 0 / 0.8032 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002952/0.5294, allocations: 3.938 kB / 0.8032 GB, free: 2.836 MB / 0.6231 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.01793/0.5473, allocations: 7.931 MB / 0.811 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.5474, allocations: 12.03 kB / 0.811 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001389/0.5488, allocations: 0.7642 MB / 0.8118 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/0.5513, allocations: 0.8165 MB / 0.8125 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01141/0.5628, allocations: 6.368 MB / 0.8188 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003213/0.5631, allocations: 420.2 kB / 0.8192 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000933/0.5641, allocations: 0.5429 MB / 0.8197 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01332/0.5774, allocations: 8.08 MB / 0.8276 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/0.5775, allocations: 15.88 kB / 0.8276 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005855/0.5781, allocations: 232 kB / 0.8278 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001576/0.5783, allocations: 167.9 kB / 0.828 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/0.5891, allocations: 6.528 MB / 0.8344 GB, free: 2.57 MB / 0.6544 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.0381/0.6273, allocations: 31.28 MB / 0.8649 GB, free: 1.461 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3078/0.9351, allocations: 3.648 MB / 0.8685 GB, free: 167.5 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0038/0.9389, allocations: 2.793 MB / 0.8712 GB, free: 166.7 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000744/0.9397, allocations: 0.8244 MB / 0.872 GB, free: 165.8 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/0.9397, allocations: 67.73 kB / 0.8721 GB, free: 165.7 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=267): time 4.418e-06/0.9397, allocations: 0 / 0.8721 GB, free: 165.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=267): time 0.01014/0.9499, allocations: 5.799 MB / 0.8777 GB, free: 163.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.9499, allocations: 79.33 kB / 0.8778 GB, free: 163.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00585/0.9558, allocations: 5.234 MB / 0.8829 GB, free: 162.1 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002374/0.956, allocations: 79.95 kB / 0.883 GB, free: 162 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001541/0.9576, allocations: 2.936 MB / 0.8859 GB, free: 160.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006781/0.9583, allocations: 0.9795 MB / 0.8868 GB, free: 159.7 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007929/0.9591, allocations: 0.7141 MB / 0.8875 GB, free: 159.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 3.067e-05/0.9591, allocations: 302.6 kB / 0.8878 GB, free: 159.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/0.9611, allocations: 1.679 MB / 0.8894 GB, free: 158.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002199/0.9633, allocations: 2.943 MB / 0.8923 GB, free: 156.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004284/0.9676, allocations: 4.96 MB / 0.8972 GB, free: 152.6 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-05/0.9676, allocations: 11.06 kB / 0.8972 GB, free: 152.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.006106/0.9737, allocations: 5.462 MB / 0.9025 GB, free: 149.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.9738, allocations: 26.58 kB / 0.9025 GB, free: 149.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/0.9738, allocations: 44.94 kB / 0.9026 GB, free: 149.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007249/0.9745, allocations: 419.5 kB / 0.903 GB, free: 149.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002403/0.977, allocations: 0.8573 MB / 0.9038 GB, free: 149.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0038/0.9808, allocations: 5.71 MB / 0.9094 GB, free: 144.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002808/0.9836, allocations: 0.5306 MB / 0.9099 GB, free: 143.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/0.9838, allocations: 180 kB / 0.9101 GB, free: 143.6 MB / 0.6856 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.002329/0.9861, allocations: 2.286 MB / 0.9123 GB, free: 141.3 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005828/0.9867, allocations: 0.5008 MB / 0.9128 GB, free: 140.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004692/0.9914, allocations: 4.177 MB / 0.9169 GB, free: 136.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.9914, allocations: 28 kB / 0.9169 GB, free: 136.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.9915, allocations: 4 kB / 0.9169 GB, free: 136.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003624/0.9951, allocations: 3.639 MB / 0.9205 GB, free: 132.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/1.006, allocations: 10.28 MB / 0.9305 GB, free: 122.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/1.006, allocations: 4 kB / 0.9305 GB, free: 122.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/1.007, allocations: 0.5037 MB / 0.931 GB, free: 121.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006111/1.008, allocations: 373.3 kB / 0.9313 GB, free: 121.6 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/1.008, allocations: 71.97 kB / 0.9314 GB, free: 121.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003647/1.012, allocations: 5.651 MB / 0.9369 GB, free: 115.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.012, allocations: 4 kB / 0.9369 GB, free: 115.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006266/1.018, allocations: 6.278 MB / 0.9431 GB, free: 109.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/1.02, allocations: 1.127 MB / 0.9442 GB, free: 108.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005423/1.02, allocations: 59.98 kB / 0.9442 GB, free: 108 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002184/1.022, allocations: 180.2 kB / 0.9444 GB, free: 107.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/1.023, allocations: 173.6 kB / 0.9446 GB, free: 107.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/1.023, allocations: 131.8 kB / 0.9447 GB, free: 107.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003703/1.027, allocations: 3.843 MB / 0.9484 GB, free: 103.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/1.027, allocations: 0 / 0.9484 GB, free: 103.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003365/1.03, allocations: 1.812 MB / 0.9502 GB, free: 101.9 MB / 0.6856 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.007017/1.037, allocations: 7.209 MB / 0.9573 GB, free: 94.59 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004589/1.042, allocations: 4.293 MB / 0.9614 GB, free: 90.26 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.042, allocations: 4 kB / 0.9615 GB, free: 90.26 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001931/1.044, allocations: 2.043 MB / 0.9634 GB, free: 88.19 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01118/1.055, allocations: 3.462 MB / 0.9668 GB, free: 84.83 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04541/1.1, allocations: 47.14 MB / 1.013 GB, free: 36.02 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002749/1.103, allocations: 4.303 MB / 1.017 GB, free: 31.69 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.004303/1.107, allocations: 1.848 MB / 1.019 GB, free: 29.86 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002639/1.11, allocations: 2.448 MB / 1.021 GB, free: 27.41 MB / 0.6856 GB Notification: Performance of SimCode: time 8.72e-07/1.11, allocations: 0 / 1.021 GB, free: 27.41 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.876/5.986, allocations: 154.5 MB / 1.172 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.6/27.59, allocations: 10.92 kB / 1.172 GB, free: 2.176 MB / 0.8106 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)