Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_Buildings_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.0007989/0.0007989, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.00503/0.00503, allocations: 170.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.176/1.176, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.489/1.489, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005011/0.0005011, allocations: 18.5 kB / 0.6744 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1871, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04797/0.2351, allocations: 54.55 MB / 0.8413 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01975/0.2549, allocations: 17.64 MB / 0.8585 GB, free: 3.055 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001809/0.2567, allocations: 71.5 kB / 0.8586 GB, free: 2.984 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.2584, allocations: 0.7146 MB / 0.8593 GB, free: 2.266 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005226/0.2637, allocations: 2.31 MB / 0.8615 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002954/0.2666, allocations: 1.375 MB / 0.8629 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.02331/0.29, allocations: 27.68 MB / 0.8899 GB, free: 2.832 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009813/0.2998, allocations: 8.413 MB / 0.8981 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008431/0.3083, allocations: 5.209 MB / 0.9032 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3798/0.6881, allocations: 5.785 MB / 0.9088 GB, free: 17.4 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002153/0.6903, allocations: 346.4 kB / 0.9092 GB, free: 17.4 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005062/0.6953, allocations: 1.026 MB / 0.9102 GB, free: 17.4 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.003185/0.6986, allocations: 1.595 MB / 0.9117 GB, free: 17.4 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.008765/0.7073, allocations: 3.87 MB / 0.9155 GB, free: 17.37 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01512/0.7225, allocations: 12.25 MB / 0.9275 GB, free: 16.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.7225, allocations: 0.5312 kB / 0.9275 GB, free: 16.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.896e-06/0.7225, allocations: 2 kB / 0.9275 GB, free: 16.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004514/0.723, allocations: 0 / 0.9275 GB, free: 16.23 MB / 0.7169 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.01808/0.7411, allocations: 6.84 MB / 0.9341 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.7411, allocations: 10.47 kB / 0.9342 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003217/0.7444, allocations: 0.8378 MB / 0.935 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00479/0.7492, allocations: 0.8499 MB / 0.9358 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01352/0.7627, allocations: 6.497 MB / 0.9422 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005696/0.7633, allocations: 460.6 kB / 0.9426 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002281/0.7656, allocations: 0.6041 MB / 0.9432 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02121/0.7868, allocations: 9.026 MB / 0.952 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003707/0.7872, allocations: 21.03 kB / 0.952 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002058/0.7893, allocations: 262 kB / 0.9523 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002873/0.7896, allocations: 176.9 kB / 0.9524 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01666/0.8063, allocations: 7.459 MB / 0.9597 GB, free: 10.94 MB / 0.7169 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.04622/0.8525, allocations: 35.96 MB / 0.9948 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006519/0.8591, allocations: 4.295 MB / 0.999 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004795/0.8639, allocations: 3.331 MB / 1.002 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/0.8653, allocations: 0.9875 MB / 1.003 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004101/0.8694, allocations: 2.391 MB / 1.006 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003764/0.8732, allocations: 446.5 kB / 1.006 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=317): time 1.224e-05/0.8732, allocations: 3.594 kB / 1.006 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=317): time 0.0147/0.8879, allocations: 7.128 MB / 1.013 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.888, allocations: 87.44 kB / 1.013 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01087/0.8989, allocations: 5.374 MB / 1.018 GB, free: 6.613 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0008095/0.8997, allocations: 91.11 kB / 1.018 GB, free: 6.535 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.003451/0.9032, allocations: 3.171 MB / 1.021 GB, free: 3.801 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001839/0.9051, allocations: 1.121 MB / 1.023 GB, free: 2.848 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.9062, allocations: 358.6 kB / 1.023 GB, free: 2.633 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.9063, allocations: 309 kB / 1.023 GB, free: 2.328 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004237/0.9105, allocations: 2.157 MB / 1.025 GB, free: 0.6992 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005227/0.9158, allocations: 3.692 MB / 1.029 GB, free: 12.33 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008562/0.9243, allocations: 6.31 MB / 1.035 GB, free: 5.508 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.761e-05/0.9244, allocations: 12 kB / 1.035 GB, free: 5.496 MB / 0.7637 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01226/0.9367, allocations: 6.76 MB / 1.042 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.518e-05/0.9368, allocations: 57.69 kB / 1.042 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.267e-05/0.9369, allocations: 51.84 kB / 1.042 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.9379, allocations: 429.5 kB / 1.042 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004016/0.9419, allocations: 1.011 MB / 1.043 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005606/0.9476, allocations: 5.271 MB / 1.048 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006473/0.9541, allocations: 474.7 kB / 1.049 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009538/0.9551, allocations: 220 kB / 1.049 GB, free: 7.348 MB / 0.7794 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.005609/0.9607, allocations: 2.456 MB / 1.051 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001742/0.9624, allocations: 0.5172 MB / 1.052 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009689/0.9721, allocations: 5.251 MB / 1.057 GB, free: 15.13 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-05/0.9722, allocations: 32 kB / 1.057 GB, free: 15.1 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.9722, allocations: 8 kB / 1.057 GB, free: 15.09 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006284/0.9785, allocations: 4.54 MB / 1.062 GB, free: 10.46 MB / 0.795 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.02271/1.001, allocations: 11.96 MB / 1.073 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/1.001, allocations: 0 / 1.073 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002827/1.004, allocations: 0.6548 MB / 1.074 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008625/1.005, allocations: 368.1 kB / 1.074 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003167/1.005, allocations: 83.95 kB / 1.074 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0052/1.011, allocations: 5.178 MB / 1.079 GB, free: 7.938 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.011, allocations: 7.984 kB / 1.079 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01296/1.023, allocations: 7.616 MB / 1.087 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003347/1.027, allocations: 1.217 MB / 1.088 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001482/1.028, allocations: 64 kB / 1.088 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004546/1.033, allocations: 475.7 kB / 1.088 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004497/1.033, allocations: 205.3 kB / 1.089 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004247/1.034, allocations: 143 kB / 1.089 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.007048/1.041, allocations: 3.742 MB / 1.092 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/1.041, allocations: 4 kB / 1.092 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.007037/1.048, allocations: 1.983 MB / 1.094 GB, free: 8.418 MB / 0.8262 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.01275/1.061, allocations: 8.562 MB / 1.103 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.007939/1.069, allocations: 5.38 MB / 1.108 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/1.069, allocations: 4 kB / 1.108 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.003335/1.072, allocations: 2.512 MB / 1.11 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0179/1.09, allocations: 3.233 MB / 1.114 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1645/1.255, allocations: 65.01 MB / 1.177 GB, free: 14.54 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003989/1.259, allocations: 4.595 MB / 1.182 GB, free: 9.906 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.006124/1.265, allocations: 1.997 MB / 1.184 GB, free: 7.914 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003914/1.269, allocations: 2.643 MB / 1.186 GB, free: 5.273 MB / 0.92 GB Notification: Performance of SimCode: time 5.81e-07/1.269, allocations: 0 / 1.186 GB, free: 5.273 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.662/5.931, allocations: 157.4 MB / 1.34 GB, free: 274.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/5.931, allocations: 276.4 kB / 1.34 GB, free: 274.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.65/12.58, allocations: 4.969 kB / 1.34 GB, free: 274.2 MB / 0.9981 GB (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)