Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.753/2.753, allocations: 287.5 MB / 302.4 MB, free: 8.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001363/0.001363, allocations: 186.4 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.4 MB / 0.6297 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000889/0.0008889, allocations: 92.59 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004682/0.0004685, allocations: 12.27 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.209, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.07285/0.2819, allocations: 51.54 MB / 1.029 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03463/0.3166, allocations: 16.74 MB / 1.045 GB, free: 7.844 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003147/0.3198, allocations: 67.56 kB / 1.045 GB, free: 7.777 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003458/0.3233, allocations: 0.6287 MB / 1.046 GB, free: 7.145 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008978/0.3323, allocations: 1.975 MB / 1.048 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.005809/0.3382, allocations: 1.086 MB / 1.049 GB, free: 4.082 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.6992/1.037, allocations: 23.47 MB / 1.072 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01928/1.057, allocations: 7.146 MB / 1.079 GB, free: 27.11 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01606/1.073, allocations: 5.296 MB / 1.084 GB, free: 27.11 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0154/1.088, allocations: 5.474 MB / 1.089 GB, free: 27.09 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.003492/1.092, allocations: 346.8 kB / 1.09 GB, free: 27.09 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009336/1.101, allocations: 0.7839 MB / 1.09 GB, free: 27.09 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.004698/1.106, allocations: 1.522 MB / 1.092 GB, free: 27.09 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.005517/1.112, allocations: 1.605 MB / 1.093 GB, free: 27.05 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01874/1.13, allocations: 10.28 MB / 1.103 GB, free: 26.53 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/1.13, allocations: 0 / 1.103 GB, free: 26.53 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.206e-06/1.13, allocations: 1.281 kB / 1.103 GB, free: 26.53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004839/1.131, allocations: 0 / 1.103 GB, free: 26.53 MB / 0.698 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.02663/1.158, allocations: 6.917 MB / 1.11 GB, free: 23.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/1.158, allocations: 8.469 kB / 1.11 GB, free: 23.72 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004861/1.162, allocations: 0.8416 MB / 1.111 GB, free: 23.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006645/1.169, allocations: 0.8432 MB / 1.112 GB, free: 23.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02191/1.191, allocations: 6.35 MB / 1.118 GB, free: 22.44 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007861/1.192, allocations: 458 kB / 1.118 GB, free: 22.42 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003167/1.195, allocations: 0.5939 MB / 1.119 GB, free: 22.42 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03213/1.227, allocations: 8.983 MB / 1.128 GB, free: 19.69 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003242/1.228, allocations: 23.44 kB / 1.128 GB, free: 19.69 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002466/1.23, allocations: 260.4 kB / 1.128 GB, free: 19.69 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002535/1.23, allocations: 192.7 kB / 1.128 GB, free: 19.67 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02434/1.255, allocations: 7.412 MB / 1.135 GB, free: 18.32 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.08005/1.335, allocations: 35.94 MB / 1.171 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01263/1.348, allocations: 4.274 MB / 1.175 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009692/1.357, allocations: 3.377 MB / 1.178 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00236/1.36, allocations: 0.9821 MB / 1.179 GB, free: 180 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008201/1.368, allocations: 2.382 MB / 1.181 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005165/1.373, allocations: 443.5 kB / 1.182 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=317): time 1.412e-05/1.373, allocations: 0 / 1.182 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=317): time 0.02714/1.4, allocations: 7.082 MB / 1.189 GB, free: 6.164 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.357e-05/1.401, allocations: 85.91 kB / 1.189 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01584/1.416, allocations: 5.341 MB / 1.194 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001148/1.418, allocations: 89.7 kB / 1.194 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.005866/1.424, allocations: 3.169 MB / 1.197 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.002755/1.426, allocations: 1.114 MB / 1.198 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005909/1.427, allocations: 88 kB / 1.198 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0005441/1.428, allocations: 491.6 kB / 1.199 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007353/1.435, allocations: 2.146 MB / 1.201 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009313/1.444, allocations: 3.673 MB / 1.204 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009134/1.453, allocations: 2.9 MB / 1.207 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-05/1.454, allocations: 12 kB / 1.207 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.02409/1.478, allocations: 6.725 MB / 1.214 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/1.478, allocations: 61.69 kB / 1.214 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.384e-05/1.478, allocations: 51.95 kB / 1.214 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001823/1.48, allocations: 435.8 kB / 1.214 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008178/1.488, allocations: 1.01 MB / 1.215 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009569/1.498, allocations: 5.25 MB / 1.221 GB, free: 4.508 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00928/1.507, allocations: 470.8 kB / 1.221 GB, free: 4.047 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001349/1.508, allocations: 216 kB / 1.221 GB, free: 3.836 MB / 0.7605 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 ($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 (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008204/1.517, allocations: 2.457 MB / 1.224 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002219/1.519, allocations: 0.5288 MB / 1.224 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0183/1.537, allocations: 5.233 MB / 1.229 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.15e-05/1.537, allocations: 32 kB / 1.229 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/1.537, allocations: 10.45 kB / 1.229 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01457/1.552, allocations: 4.513 MB / 1.234 GB, free: 6.887 MB / 0.7761 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.04307/1.595, allocations: 11.94 MB / 1.245 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/1.595, allocations: 3.844 kB / 1.245 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006281/1.601, allocations: 0.6593 MB / 1.246 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001649/1.603, allocations: 369.3 kB / 1.246 GB, free: 9.812 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008605/1.604, allocations: 83.95 kB / 1.246 GB, free: 9.73 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009372/1.613, allocations: 5.169 MB / 1.251 GB, free: 4.305 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.613, allocations: 3.984 kB / 1.251 GB, free: 4.301 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02335/1.637, allocations: 7.589 MB / 1.259 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005734/1.643, allocations: 1.213 MB / 1.26 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002391/1.645, allocations: 64 kB / 1.26 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008787/1.654, allocations: 475.1 kB / 1.261 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001071/1.655, allocations: 198.2 kB / 1.261 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000678/1.656, allocations: 139.9 kB / 1.261 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.01148/1.667, allocations: 3.707 MB / 1.265 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.112e-06/1.667, allocations: 0 / 1.265 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01123/1.678, allocations: 1.979 MB / 1.266 GB, free: 4.852 MB / 0.8073 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02619/1.705, allocations: 8.517 MB / 1.275 GB, free: 12.27 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01654/1.721, allocations: 5.355 MB / 1.28 GB, free: 6.859 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/1.721, allocations: 4.844 kB / 1.28 GB, free: 6.855 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.007942/1.729, allocations: 2.502 MB / 1.282 GB, free: 4.324 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02963/1.759, allocations: 3.232 MB / 1.286 GB, free: 1.137 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2233/1.982, allocations: 50.52 MB / 1.335 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01039/1.993, allocations: 4.599 MB / 1.339 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01329/2.006, allocations: 2.004 MB / 1.341 GB, free: 4.75 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008499/2.015, allocations: 2.635 MB / 1.344 GB, free: 2.113 MB / 0.8855 GB Notification: Performance of SimCode: time 1.313e-06/2.015, allocations: 4 kB / 1.344 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.091/3.106, allocations: 168.2 MB / 1.508 GB, free: 292.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/3.106, allocations: 264.9 kB / 1.508 GB, free: 292.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.947/12.05, allocations: 0 / 1.508 GB, free: 292.4 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)