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: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 107.2 kB / 16.38 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.001399/0.001399, allocations: 190.7 kB / 17.31 MB, free: 5.82 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.305/1.305, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.727/1.727, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001435/0.001435, allocations: 75.19 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1963, allocations: 114.5 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.3987/0.595, allocations: 56.01 MB / 0.8395 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0212/0.6162, allocations: 17.86 MB / 0.8569 GB, free: 15.7 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003048/0.6193, allocations: 76.28 kB / 0.857 GB, free: 15.67 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.6218, allocations: 0.9068 MB / 0.8579 GB, free: 15.1 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008026/0.6299, allocations: 2.477 MB / 0.8603 GB, free: 13.61 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004993/0.6349, allocations: 1.518 MB / 0.8618 GB, free: 12.76 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02376/0.6587, allocations: 21.13 MB / 0.8824 GB, free: 1.531 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01347/0.6722, allocations: 10.68 MB / 0.8928 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01469/0.6869, allocations: 7.166 MB / 0.8998 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01055/0.6975, allocations: 6.358 MB / 0.9061 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002669/0.7002, allocations: 0.9414 MB / 0.907 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006687/0.7069, allocations: 1.705 MB / 0.9086 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.004023/0.7109, allocations: 2.333 MB / 0.9109 GB, free: 9.273 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.01001/0.721, allocations: 4.688 MB / 0.9155 GB, free: 4.566 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01531/0.7363, allocations: 13.13 MB / 0.9283 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.7364, allocations: 0 / 0.9283 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.274e-06/0.7364, allocations: 0 / 0.9283 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004279/0.7368, allocations: 0 / 0.9283 GB, free: 7.402 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.01999/0.7568, allocations: 8.459 MB / 0.9366 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.7569, allocations: 8.031 kB / 0.9366 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003267/0.7601, allocations: 0.8509 MB / 0.9374 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01224/0.7724, allocations: 6.561 MB / 0.9438 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003853/0.7728, allocations: 460.4 kB / 0.9443 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002159/0.775, allocations: 0.6015 MB / 0.9448 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02087/0.7959, allocations: 9.021 MB / 0.9537 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002896/0.7962, allocations: 19.88 kB / 0.9537 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002095/0.7983, allocations: 260 kB / 0.9539 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002288/0.7986, allocations: 179.9 kB / 0.9541 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01687/0.8155, allocations: 7.449 MB / 0.9614 GB, free: 5.059 MB / 0.7481 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.05476/0.8703, allocations: 35.97 MB / 0.9965 GB, free: 15.02 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007155/0.8775, allocations: 4.284 MB / 1.001 GB, free: 10.73 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005113/0.8826, allocations: 3.309 MB / 1.004 GB, free: 7.41 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00137/0.884, allocations: 0.9583 MB / 1.005 GB, free: 6.266 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00445/0.8885, allocations: 2.386 MB / 1.007 GB, free: 3.844 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002665/0.8912, allocations: 379.7 kB / 1.008 GB, free: 3.469 MB / 0.795 GB Notification: Performance of pre-optimization done (n=317): time 1.445e-05/0.8912, allocations: 0 / 1.008 GB, free: 3.469 MB / 0.795 GB Notification: Performance of matching and sorting (n=317): time 0.01427/0.9055, allocations: 7.126 MB / 1.014 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.9056, allocations: 85.91 kB / 1.015 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01153/0.9171, allocations: 5.572 MB / 1.02 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.001049/0.9182, allocations: 89.7 kB / 1.02 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.003998/0.9222, allocations: 3.168 MB / 1.023 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001892/0.9241, allocations: 1.121 MB / 1.024 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002483/0.9266, allocations: 0.8542 MB / 1.025 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.9268, allocations: 312 kB / 1.025 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003818/0.9306, allocations: 2.163 MB / 1.028 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004877/0.9355, allocations: 3.693 MB / 1.031 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008955/0.9445, allocations: 6.323 MB / 1.037 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.178e-05/0.9445, allocations: 15.94 kB / 1.037 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0132/0.9577, allocations: 6.764 MB / 1.044 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.948e-05/0.9579, allocations: 57.69 kB / 1.044 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.433e-05/0.958, allocations: 51.94 kB / 1.044 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.9591, allocations: 433.8 kB / 1.044 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003768/0.9628, allocations: 1.006 MB / 1.045 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005861/0.9687, allocations: 5.701 MB / 1.051 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004968/0.9737, allocations: 284.1 kB / 1.051 GB, free: 4.758 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000829/0.9745, allocations: 216 kB / 1.051 GB, free: 4.547 MB / 0.8419 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.004837/0.9794, allocations: 2.46 MB / 1.054 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001925/0.9813, allocations: 0.521 MB / 1.054 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/0.9918, allocations: 5.259 MB / 1.06 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007096/0.9989, allocations: 4.524 MB / 1.064 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.9989, allocations: 0.5625 kB / 1.064 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003819/1.003, allocations: 1.178 MB / 1.065 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001963/1.005, allocations: 67.92 kB / 1.065 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005398/1.01, allocations: 193 kB / 1.065 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006928/1.011, allocations: 214.2 kB / 1.066 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01489/1.026, allocations: 5.255 MB / 1.071 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01677/1.043, allocations: 7.915 MB / 1.078 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004374/1.047, allocations: 2.226 MB / 1.081 GB, free: 6.422 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.01013/1.057, allocations: 3.906 MB / 1.084 GB, free: 2.535 MB / 0.8731 GB Notification: Performance of Backend: time 6.61e-07/1.057, allocations: 3.938 kB / 1.084 GB, free: 2.531 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01291/1.07, allocations: 4.106 MB / 1.088 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of SimCode: time 0.03314/1.103, allocations: 15.35 MB / 1.103 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of Templates: time 0.5128/1.616, allocations: 116.4 MB / 1.217 GB, free: 250.5 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (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 & ./Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)