Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.369/1.369, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001556/0.001556, allocations: 172.9 kB / 327 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.4 MB / 0.578 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007852/0.0007851, allocations: 97.41 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 8.469 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2071, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.03857/0.2457, allocations: 54.55 MB / 0.9542 GB, free: 8.637 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02086/0.2666, allocations: 17.63 MB / 0.9714 GB, free: 6.961 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003293/0.27, allocations: 59.62 kB / 0.9715 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002384/0.2724, allocations: 0.7224 MB / 0.9722 GB, free: 6.176 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007307/0.2797, allocations: 2.3 MB / 0.9744 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003582/0.2833, allocations: 1.341 MB / 0.9757 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.02536/0.3087, allocations: 27.67 MB / 1.003 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01144/0.3202, allocations: 8.39 MB / 1.011 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01078/0.331, allocations: 5.334 MB / 1.016 GB, free: 8.941 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01127/0.3423, allocations: 5.799 MB / 1.022 GB, free: 3.117 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.002773/0.3451, allocations: 348 kB / 1.022 GB, free: 2.777 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006813/0.352, allocations: 1.033 MB / 1.023 GB, free: 1.742 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003176/0.3552, allocations: 1.576 MB / 1.025 GB, free: 164 kB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.008004/0.3632, allocations: 3.858 MB / 1.028 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01571/0.379, allocations: 12.16 MB / 1.04 GB, free: 80 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.379, allocations: 0 / 1.04 GB, free: 80 kB / 0.6823 GB Notification: Performance of FrontEnd: time 3.737e-06/0.379, allocations: 0 / 1.04 GB, free: 80 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005247/0.3796, allocations: 0 / 1.04 GB, free: 80 kB / 0.6823 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.01563/0.3952, allocations: 6.843 MB / 1.047 GB, free: 9.145 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.3953, allocations: 12.03 kB / 1.047 GB, free: 9.133 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002944/0.3982, allocations: 0.8383 MB / 1.048 GB, free: 8.285 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003575/0.4018, allocations: 0.8508 MB / 1.049 GB, free: 7.426 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01401/0.4159, allocations: 6.543 MB / 1.055 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004534/0.4164, allocations: 472.3 kB / 1.056 GB, free: 360 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4888/0.9052, allocations: 0.5908 MB / 1.056 GB, free: 139.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02439/0.9296, allocations: 8.927 MB / 1.065 GB, free: 138.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002469/0.9299, allocations: 18.94 kB / 1.065 GB, free: 138.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001142/0.9311, allocations: 255 kB / 1.065 GB, free: 138.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003247/0.9314, allocations: 175.1 kB / 1.065 GB, free: 138.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02218/0.9536, allocations: 7.499 MB / 1.073 GB, free: 137.7 MB / 0.698 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.05135/1.005, allocations: 35.11 MB / 1.107 GB, free: 110.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005612/1.011, allocations: 4.422 MB / 1.111 GB, free: 106.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003922/1.015, allocations: 3.378 MB / 1.114 GB, free: 103.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/1.016, allocations: 0.9851 MB / 1.115 GB, free: 102 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003189/1.019, allocations: 2.397 MB / 1.118 GB, free: 99.56 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003205/1.022, allocations: 453 kB / 1.118 GB, free: 99.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=329): time 9.748e-06/1.022, allocations: 0 / 1.118 GB, free: 99.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=329): time 0.01149/1.034, allocations: 7.247 MB / 1.125 GB, free: 91.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/1.034, allocations: 90.62 kB / 1.125 GB, free: 91.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007365/1.041, allocations: 5.356 MB / 1.131 GB, free: 86.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007015/1.042, allocations: 89.7 kB / 1.131 GB, free: 86.24 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002431/1.044, allocations: 3.14 MB / 1.134 GB, free: 83.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001469/1.046, allocations: 1.157 MB / 1.135 GB, free: 81.94 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/1.046, allocations: 88 kB / 1.135 GB, free: 81.85 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001992/1.046, allocations: 495.8 kB / 1.135 GB, free: 81.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002872/1.049, allocations: 2.191 MB / 1.138 GB, free: 79.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00333/1.052, allocations: 3.683 MB / 1.141 GB, free: 74.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006587/1.059, allocations: 6.335 MB / 1.147 GB, free: 67.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.702e-05/1.059, allocations: 12 kB / 1.147 GB, free: 67.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009515/1.069, allocations: 6.82 MB / 1.154 GB, free: 60.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.088e-05/1.069, allocations: 49.7 kB / 1.154 GB, free: 60.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-05/1.069, allocations: 48 kB / 1.154 GB, free: 60.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008789/1.07, allocations: 431.5 kB / 1.155 GB, free: 60.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003376/1.073, allocations: 1.026 MB / 1.156 GB, free: 59.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004237/1.077, allocations: 5.245 MB / 1.161 GB, free: 53.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005484/1.083, allocations: 470.7 kB / 1.161 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006226/1.083, allocations: 216 kB / 1.161 GB, free: 53.17 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 214 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (548): * Single equations (assignments): 545 * 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.004188/1.088, allocations: 2.467 MB / 1.164 GB, free: 50.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001457/1.089, allocations: 0.5134 MB / 1.164 GB, free: 50.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008295/1.097, allocations: 5.361 MB / 1.169 GB, free: 44.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/1.098, allocations: 40 kB / 1.169 GB, free: 44.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/1.098, allocations: 4 kB / 1.169 GB, free: 44.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00558/1.103, allocations: 4.614 MB / 1.174 GB, free: 40.02 MB / 0.698 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.02126/1.124, allocations: 12.06 MB / 1.186 GB, free: 27.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/1.124, allocations: 0 / 1.186 GB, free: 27.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002744/1.127, allocations: 0.6826 MB / 1.186 GB, free: 27.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007773/1.128, allocations: 369.3 kB / 1.187 GB, free: 26.81 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003445/1.128, allocations: 87.95 kB / 1.187 GB, free: 26.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004151/1.133, allocations: 5.179 MB / 1.192 GB, free: 21.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.133, allocations: 1.875 kB / 1.192 GB, free: 21.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01037/1.143, allocations: 7.753 MB / 1.2 GB, free: 13.44 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003369/1.146, allocations: 1.193 MB / 1.201 GB, free: 12.22 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001301/1.148, allocations: 67.98 kB / 1.201 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004367/1.152, allocations: 478 kB / 1.201 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004675/1.153, allocations: 214.2 kB / 1.201 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003557/1.153, allocations: 127.9 kB / 1.202 GB, free: 11.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.006195/1.159, allocations: 3.729 MB / 1.205 GB, free: 7.645 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.11e-07/1.159, allocations: 0 / 1.205 GB, free: 7.645 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006376/1.166, allocations: 1.986 MB / 1.207 GB, free: 5.672 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (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,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,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 (308): * Single equations (assignments): 301 * 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.01286/1.178, allocations: 8.692 MB / 1.216 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.008862/1.187, allocations: 5.452 MB / 1.221 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/1.187, allocations: 7.984 kB / 1.221 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.004048/1.191, allocations: 2.571 MB / 1.223 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01807/1.209, allocations: 3.219 MB / 1.227 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1559/1.365, allocations: 65.54 MB / 1.291 GB, free: 10.42 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004683/1.37, allocations: 4.598 MB / 1.295 GB, free: 5.793 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.006636/1.377, allocations: 1.991 MB / 1.297 GB, free: 3.805 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004667/1.381, allocations: 2.651 MB / 1.3 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of SimCode: time 1.302e-06/1.382, allocations: 3.938 kB / 1.3 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.793/3.174, allocations: 157.3 MB / 1.453 GB, free: 236 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/3.175, allocations: 298.8 kB / 1.454 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.435/10.61, allocations: 0 / 1.454 GB, free: 235.7 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)